Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01072/0.01072, allocations: 100.3 kB / 15.73 MB, free: 6.059 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.002105/0.002105, allocations: 204.8 kB / 16.68 MB, free: 5.98 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 62.91 kB / 0.9504 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2781, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1698/0.4479, allocations: 154 MB / 1.238 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.4623, allocations: 10.5 MB / 1.248 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009639/0.4633, allocations: 19.88 kB / 1.248 GB, free: 12.8 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.4644, allocations: 269.8 kB / 1.248 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.4674, allocations: 0.9408 MB / 1.249 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.4702, allocations: 1.078 MB / 1.25 GB, free: 10.53 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.4722, allocations: 1.644 MB / 1.252 GB, free: 8.883 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.4739, allocations: 1.193 MB / 1.253 GB, free: 7.668 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.4758, allocations: 0.7117 MB / 1.254 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008502/0.4767, allocations: 0.6029 MB / 1.254 GB, free: 6.359 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.477, allocations: 139.9 kB / 1.255 GB, free: 6.223 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.479, allocations: 1.038 MB / 1.256 GB, free: 5.184 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003925/0.4794, allocations: 382.9 kB / 1.256 GB, free: 4.809 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007738/0.4801, allocations: 0.6568 MB / 1.257 GB, free: 4.148 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.4833, allocations: 2.216 MB / 1.259 GB, free: 1.926 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4833, allocations: 0 / 1.259 GB, free: 1.926 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.624e-06/0.4833, allocations: 0 / 1.259 GB, free: 1.926 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.271e-05/0.4834, allocations: 0 / 1.259 GB, free: 1.926 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003798/0.4872, allocations: 1.722 MB / 1.26 GB, free: 148 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.4872, allocations: 8.031 kB / 1.26 GB, free: 140 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.5433/1.03, allocations: 147.5 kB / 1.261 GB, free: 174.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/1.033, allocations: 265.8 kB / 1.261 GB, free: 174.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/1.035, allocations: 1.082 MB / 1.262 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/1.035, allocations: 75.48 kB / 1.262 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003196/1.036, allocations: 93.02 kB / 1.262 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/1.039, allocations: 1.109 MB / 1.263 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/1.039, allocations: 4.688 kB / 1.263 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/1.039, allocations: 41.58 kB / 1.263 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/1.039, allocations: 23.72 kB / 1.263 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/1.043, allocations: 1.322 MB / 1.264 GB, free: 173.8 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006583/1.049, allocations: 3.242 MB / 1.268 GB, free: 172 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/1.051, allocations: 1.105 MB / 1.269 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/1.052, allocations: 417.7 kB / 1.269 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/1.053, allocations: 140 kB / 1.269 GB, free: 171.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/1.054, allocations: 0.615 MB / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 5.961e-06/1.054, allocations: 0.875 kB / 1.27 GB, free: 171.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.00497/1.059, allocations: 1.639 MB / 1.271 GB, free: 170.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/1.059, allocations: 195.2 kB / 1.272 GB, free: 170.1 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/1.061, allocations: 1.022 MB / 1.273 GB, free: 169.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/1.061, allocations: 43.89 kB / 1.273 GB, free: 169.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005085/1.062, allocations: 474.9 kB / 1.273 GB, free: 169.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/1.062, allocations: 310.3 kB / 1.273 GB, free: 169.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/1.063, allocations: 168 kB / 1.274 GB, free: 169 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/1.063, allocations: 343.5 kB / 1.274 GB, free: 168.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007525/1.063, allocations: 330.9 kB / 1.274 GB, free: 168.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008796/1.064, allocations: 468.8 kB / 1.275 GB, free: 168.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/1.066, allocations: 0.7724 MB / 1.275 GB, free: 168.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.066, allocations: 0 / 1.275 GB, free: 168.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002688/1.069, allocations: 1.035 MB / 1.276 GB, free: 167.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.069, allocations: 6.125 kB / 1.276 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.069, allocations: 0.5625 kB / 1.276 GB, free: 167.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007936/1.069, allocations: 121 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.071, allocations: 196 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/1.073, allocations: 3.071 MB / 1.28 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/1.074, allocations: 112.1 kB / 1.28 GB, free: 164.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.074, allocations: 35.67 kB / 1.28 GB, free: 164.6 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007162/1.075, allocations: 309.4 kB / 1.28 GB, free: 164.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000365/1.076, allocations: 105.6 kB / 1.28 GB, free: 164.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/1.079, allocations: 1.316 MB / 1.282 GB, free: 163.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/1.079, allocations: 10.72 kB / 1.282 GB, free: 163.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/1.079, allocations: 4.125 kB / 1.282 GB, free: 163.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/1.079, allocations: 9.375 kB / 1.282 GB, free: 163.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004869/1.084, allocations: 2.442 MB / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.084, allocations: 0 / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/1.085, allocations: 193.6 kB / 1.284 GB, free: 162.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005915/1.085, allocations: 102.7 kB / 1.284 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.086, allocations: 31.89 kB / 1.284 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/1.088, allocations: 3.089 MB / 1.287 GB, free: 159.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.088, allocations: 1.375 kB / 1.287 GB, free: 159.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/1.091, allocations: 1.239 MB / 1.289 GB, free: 159.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000591/1.092, allocations: 329.4 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/1.092, allocations: 23.7 kB / 1.289 GB, free: 158.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009057/1.093, allocations: 73.11 kB / 1.289 GB, free: 158.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/1.093, allocations: 84.98 kB / 1.289 GB, free: 158.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/1.093, allocations: 43.22 kB / 1.289 GB, free: 158.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001217/1.094, allocations: 0.7536 MB / 1.29 GB, free: 158.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.094, allocations: 0 / 1.29 GB, free: 158.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001506/1.096, allocations: 439.5 kB / 1.29 GB, free: 158.4 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004888/1.101, allocations: 2.398 MB / 1.293 GB, free: 157.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002394/1.103, allocations: 1.114 MB / 1.294 GB, free: 156.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.103, allocations: 1.312 kB / 1.294 GB, free: 156.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.104, allocations: 0.7359 MB / 1.294 GB, free: 156.4 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/1.106, allocations: 351.5 kB / 1.295 GB, free: 156.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/1.124, allocations: 8.448 MB / 1.303 GB, free: 152.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008868/1.125, allocations: 1.106 MB / 1.304 GB, free: 151.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001274/1.126, allocations: 316 kB / 1.304 GB, free: 151.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007439/1.127, allocations: 466 kB / 1.305 GB, free: 151.3 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.127, allocations: 0 / 1.305 GB, free: 151.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06476/1.191, allocations: 27.84 MB / 1.332 GB, free: 127.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.83, allocations: 6.297 kB / 1.332 GB, free: 127.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches