Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008861/0.008861, allocations: 99.81 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 192.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.556/2.556, allocations: 472.6 MB / 0.7453 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 67.89 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.8883, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002695/0.891, allocations: 1.572 MB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.8925, allocations: 0.9317 MB / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.8925, allocations: 0 / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.8928, allocations: 63.66 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.8933, allocations: 151.3 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.385e-05/0.8933, allocations: 8 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.8937, allocations: 374.2 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.516e-05/0.8938, allocations: 44.73 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.894, allocations: 135.4 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.8942, allocations: 143.3 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.8943, allocations: 16 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.8974, allocations: 0.5629 MB / 1.229 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.8976, allocations: 55.7 kB / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.8977, allocations: 135.3 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01553/0.9133, allocations: 13.22 MB / 1.243 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.9133, allocations: 0 / 1.243 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9133, allocations: 0 / 1.243 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.9133, allocations: 0 / 1.243 GB, free: 12.06 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001617/0.915, allocations: 0.6691 MB / 1.243 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.915, allocations: 8.031 kB / 1.243 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.464e-05/0.9151, allocations: 36.7 kB / 1.243 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.9158, allocations: 378.6 kB / 1.244 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.9158, allocations: 384 / 1.244 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.9158, allocations: 8.375 kB / 1.244 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.916, allocations: 109.3 kB / 1.244 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.9161, allocations: 0 / 1.244 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.9161, allocations: 0 / 1.244 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.9161, allocations: 4 kB / 1.244 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.9162, allocations: 75.8 kB / 1.244 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.9167, allocations: 344.1 kB / 1.244 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.9169, allocations: 98.41 kB / 1.244 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.758e-05/0.917, allocations: 63.45 kB / 1.244 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.917, allocations: 11.94 kB / 1.244 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.917, allocations: 34.5 kB / 1.244 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.917, allocations: 0 / 1.244 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0003691/0.9174, allocations: 193.2 kB / 1.245 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.9175, allocations: 137 kB / 1.245 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.9181, allocations: 0.4975 MB / 1.245 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.9181, allocations: 29.7 kB / 1.245 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.9183, allocations: 156.4 kB / 1.245 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.9183, allocations: 19.89 kB / 1.245 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.299e-05/0.9184, allocations: 45.69 kB / 1.245 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.9186, allocations: 342.8 kB / 1.246 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.9187, allocations: 95.92 kB / 1.246 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.9189, allocations: 172.9 kB / 1.246 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.9193, allocations: 223.3 kB / 1.246 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9193, allocations: 4 kB / 1.246 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003988/0.9197, allocations: 301.2 kB / 1.246 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.9197, allocations: 9.031 kB / 1.246 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.9197, allocations: 7.984 kB / 1.246 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.9197, allocations: 4 kB / 1.247 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.9199, allocations: 15.98 kB / 1.247 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.9199, allocations: 0 / 1.247 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.92, allocations: 23.88 kB / 1.247 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.9201, allocations: 7.984 kB / 1.247 GB, free: 7.66 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001667/0.9202, allocations: 190.1 kB / 1.247 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.9203, allocations: 31.75 kB / 1.247 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.9206, allocations: 191.9 kB / 1.247 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.9206, allocations: 0 / 1.247 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9207, allocations: 4 kB / 1.247 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9207, allocations: 0 / 1.247 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.9209, allocations: 289.5 kB / 1.247 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9209, allocations: 0 / 1.247 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.921, allocations: 19.98 kB / 1.247 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.921, allocations: 4.062 kB / 1.247 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.9211, allocations: 8 kB / 1.247 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9211, allocations: 3.938 kB / 1.247 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.9211, allocations: 0 / 1.247 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.9213, allocations: 191.3 kB / 1.247 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.9215, allocations: 140.8 kB / 1.248 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.9215, allocations: 4 kB / 1.248 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.9216, allocations: 7.984 kB / 1.248 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.9217, allocations: 8 kB / 1.248 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.9217, allocations: 4 kB / 1.248 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003992/0.9221, allocations: 379 kB / 1.248 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9221, allocations: 0 / 1.248 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000468/0.9226, allocations: 103.9 kB / 1.248 GB, free: 6.008 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004748/0.9273, allocations: 2.815 MB / 1.251 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.9277, allocations: 167.8 kB / 1.251 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.9278, allocations: 0 / 1.251 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.9278, allocations: 55.89 kB / 1.251 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.9282, allocations: 49.47 kB / 1.251 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.9292, allocations: 0.6109 MB / 1.252 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.9297, allocations: 0.8181 MB / 1.252 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.9299, allocations: 50.28 kB / 1.253 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.9299, allocations: 23.42 kB / 1.253 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.9299, allocations: 4 kB / 1.253 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of Templates: time 0.01203/0.942, allocations: 7.592 MB / 1.26 GB, free: 9.785 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches