Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 223.9 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.088/3.088, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 74.33 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3019, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1646/0.4665, allocations: 135.8 MB / 1.459 GB, free: 9.164 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.4827, allocations: 9.931 MB / 1.469 GB, free: 15.21 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.4837, allocations: 27.75 kB / 1.469 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.4848, allocations: 285.7 kB / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003593/0.4884, allocations: 1.008 MB / 1.47 GB, free: 13.89 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.4916, allocations: 1.122 MB / 1.471 GB, free: 12.78 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002701/0.4943, allocations: 1.745 MB / 1.473 GB, free: 11.03 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.496, allocations: 0.9476 MB / 1.474 GB, free: 10.05 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.4985, allocations: 0.7592 MB / 1.475 GB, free: 9.297 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.4995, allocations: 0.6379 MB / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003457/0.4999, allocations: 136 kB / 1.475 GB, free: 8.523 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.5022, allocations: 1.053 MB / 1.476 GB, free: 7.469 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.5027, allocations: 386.8 kB / 1.477 GB, free: 7.09 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007607/0.5034, allocations: 0.5598 MB / 1.477 GB, free: 6.527 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003822/0.5072, allocations: 2.292 MB / 1.48 GB, free: 4.227 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5073, allocations: 0 / 1.48 GB, free: 4.227 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5073, allocations: 0 / 1.48 GB, free: 4.227 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.495e-05/0.5073, allocations: 0 / 1.48 GB, free: 4.227 MB / 1.17 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.003842/0.5111, allocations: 1.734 MB / 1.481 GB, free: 2.457 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.5112, allocations: 12.03 kB / 1.481 GB, free: 2.445 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.789e-05/0.5112, allocations: 26 kB / 1.481 GB, free: 2.418 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/0.5114, allocations: 152 kB / 1.481 GB, free: 2.262 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/0.5138, allocations: 318.8 kB / 1.482 GB, free: 1.949 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.5158, allocations: 1.045 MB / 1.483 GB, free: 0.875 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.5159, allocations: 70 kB / 1.483 GB, free: 0.8086 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.516, allocations: 92 kB / 1.483 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.5186, allocations: 1.49 MB / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.5186, allocations: 0 / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.5188, allocations: 40 kB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.5188, allocations: 24 kB / 1.484 GB, free: 15.03 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.5214, allocations: 1.323 MB / 1.486 GB, free: 13.71 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006201/0.5276, allocations: 2.771 MB / 1.488 GB, free: 10.88 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.5298, allocations: 0.9737 MB / 1.489 GB, free: 9.895 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008238/0.5306, allocations: 389.5 kB / 1.49 GB, free: 9.512 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.5308, allocations: 52.95 kB / 1.49 GB, free: 9.461 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/0.5322, allocations: 0.8436 MB / 1.491 GB, free: 8.539 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 2.825e-06/0.5322, allocations: 0 / 1.491 GB, free: 8.539 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.004491/0.5367, allocations: 1.489 MB / 1.492 GB, free: 7.043 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.5368, allocations: 200.8 kB / 1.492 GB, free: 6.805 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.5382, allocations: 1.048 MB / 1.493 GB, free: 5.746 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.5383, allocations: 53.69 kB / 1.493 GB, free: 5.688 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.5387, allocations: 477.2 kB / 1.494 GB, free: 5.215 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.539, allocations: 325.2 kB / 1.494 GB, free: 4.895 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.5393, allocations: 166.6 kB / 1.494 GB, free: 4.723 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5395, allocations: 341.9 kB / 1.495 GB, free: 4.383 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007131/0.5402, allocations: 333.8 kB / 1.495 GB, free: 4.059 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009618/0.5411, allocations: 0.6589 MB / 1.496 GB, free: 3.316 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.5427, allocations: 0.7687 MB / 1.496 GB, free: 2.535 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5427, allocations: 0 / 1.496 GB, free: 2.535 MB / 1.186 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002605/0.5453, allocations: 1.045 MB / 1.497 GB, free: 1.477 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5453, allocations: 7.938 kB / 1.497 GB, free: 1.469 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.5453, allocations: 0 / 1.497 GB, free: 1.469 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007808/0.5461, allocations: 117.7 kB / 1.497 GB, free: 1.348 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/0.547, allocations: 203.6 kB / 1.498 GB, free: 1.148 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003372/0.5504, allocations: 2.853 MB / 1.5 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.5514, allocations: 104.9 kB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.5516, allocations: 35.98 kB / 1.501 GB, free: 13.92 MB / 1.201 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.0006204/0.5522, allocations: 321.7 kB / 1.501 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.5525, allocations: 115.3 kB / 1.501 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/0.5557, allocations: 1.311 MB / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.5557, allocations: 8 kB / 1.502 GB, free: 12.15 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5557, allocations: 4 kB / 1.502 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.5557, allocations: 11.97 kB / 1.502 GB, free: 12.13 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004646/0.5603, allocations: 2.259 MB / 1.505 GB, free: 9.816 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.5603, allocations: 4 kB / 1.505 GB, free: 9.812 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008675/0.5612, allocations: 191.7 kB / 1.505 GB, free: 9.625 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005902/0.5618, allocations: 109.5 kB / 1.505 GB, free: 9.512 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-05/0.5619, allocations: 27.98 kB / 1.505 GB, free: 9.484 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003126/0.565, allocations: 2.878 MB / 1.508 GB, free: 6.371 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.565, allocations: 0 / 1.508 GB, free: 6.371 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/0.5679, allocations: 1.249 MB / 1.509 GB, free: 5.098 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/0.5685, allocations: 254.9 kB / 1.509 GB, free: 4.848 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001824/0.5687, allocations: 20 kB / 1.509 GB, free: 4.828 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009205/0.5697, allocations: 85.17 kB / 1.509 GB, free: 4.746 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.5699, allocations: 88.78 kB / 1.509 GB, free: 4.66 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.57, allocations: 47.97 kB / 1.509 GB, free: 4.613 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001032/0.571, allocations: 0.7645 MB / 1.51 GB, free: 3.855 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/0.571, allocations: 3.938 kB / 1.51 GB, free: 3.852 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001329/0.5723, allocations: 466.7 kB / 1.511 GB, free: 3.395 MB / 1.201 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.005457/0.5778, allocations: 2.425 MB / 1.513 GB, free: 1.152 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.5802, allocations: 1.076 MB / 1.514 GB, free: 52 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5802, allocations: 4 kB / 1.514 GB, free: 48 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.5817, allocations: 0.706 MB / 1.515 GB, free: 15.32 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001734/0.5834, allocations: 358.6 kB / 1.515 GB, free: 14.98 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/0.5991, allocations: 8.454 MB / 1.523 GB, free: 6.391 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.5997, allocations: 0.5088 MB / 1.524 GB, free: 5.844 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001155/0.6009, allocations: 324 kB / 1.524 GB, free: 5.523 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008715/0.6017, allocations: 475.2 kB / 1.525 GB, free: 5.062 MB / 1.217 GB Notification: Performance of SimCode: time 1.432e-06/0.6017, allocations: 0 / 1.525 GB, free: 5.062 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07361/0.6753, allocations: 30.4 MB / 1.554 GB, free: 7.102 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/15.73, allocations: 18.28 kB / 1.554 GB, free: 7.086 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.395788529072888]