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.001279/0.001279, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001394/0.001394, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.378/1.378, allocations: 230.6 MB / 252.8 MB, free: 8.957 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 2.975/2.975, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",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.001964/0.001964, allocations: 69.98 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.297, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1713/0.4683, allocations: 157.9 MB / 1.475 GB, free: 4.816 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.484, allocations: 10.68 MB / 1.485 GB, free: 10.1 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.4854, allocations: 31.81 kB / 1.485 GB, free: 10.07 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.4866, allocations: 297.5 kB / 1.486 GB, free: 9.777 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.4898, allocations: 1 MB / 1.487 GB, free: 8.777 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.4928, allocations: 1.109 MB / 1.488 GB, free: 7.68 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002645/0.4954, allocations: 1.737 MB / 1.489 GB, free: 5.938 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.497, allocations: 0.9547 MB / 1.49 GB, free: 4.953 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.4992, allocations: 0.7586 MB / 1.491 GB, free: 4.203 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/0.5002, allocations: 0.6435 MB / 1.492 GB, free: 3.559 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000267/0.5004, allocations: 136 kB / 1.492 GB, free: 3.426 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002199/0.5026, allocations: 1.084 MB / 1.493 GB, free: 2.34 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.503, allocations: 394.7 kB / 1.493 GB, free: 1.953 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007628/0.5038, allocations: 0.6801 MB / 1.494 GB, free: 1.27 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.5076, allocations: 2.288 MB / 1.496 GB, free: 14.97 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5076, allocations: 0 / 1.496 GB, free: 14.97 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5076, allocations: 0 / 1.496 GB, free: 14.97 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.356e-05/0.5076, allocations: 0 / 1.496 GB, free: 14.97 MB / 1.201 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.003609/0.5112, allocations: 1.809 MB / 1.498 GB, free: 13.1 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5113, allocations: 15.98 kB / 1.498 GB, free: 13.09 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.5115, allocations: 160 kB / 1.498 GB, free: 12.92 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.5137, allocations: 322.8 kB / 1.498 GB, free: 12.61 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.5156, allocations: 1.094 MB / 1.5 GB, free: 11.47 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.5157, allocations: 77.98 kB / 1.5 GB, free: 11.39 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.5158, allocations: 92 kB / 1.5 GB, free: 11.3 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.518, allocations: 1.113 MB / 1.501 GB, free: 10.15 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.518, allocations: 0 / 1.501 GB, free: 10.15 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.5181, allocations: 47.98 kB / 1.501 GB, free: 10.1 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.5181, allocations: 24 kB / 1.501 GB, free: 10.08 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/0.5206, allocations: 1.315 MB / 1.502 GB, free: 8.758 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00613/0.5267, allocations: 3.532 MB / 1.506 GB, free: 5.055 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.5289, allocations: 1.054 MB / 1.507 GB, free: 3.984 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008095/0.5297, allocations: 391.6 kB / 1.507 GB, free: 3.598 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.5299, allocations: 138 kB / 1.507 GB, free: 3.441 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/0.5311, allocations: 0.6177 MB / 1.508 GB, free: 2.809 MB / 1.201 GB Notification: Performance of pre-optimization done (n=95): time 2.475e-06/0.5311, allocations: 4 kB / 1.508 GB, free: 2.805 MB / 1.201 GB Notification: Performance of matching and sorting (n=95): time 0.004508/0.5356, allocations: 1.636 MB / 1.509 GB, free: 1.117 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.5358, allocations: 200.8 kB / 1.51 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.5373, allocations: 1.04 MB / 1.511 GB, free: 15.83 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.5375, allocations: 53.69 kB / 1.511 GB, free: 15.77 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.5379, allocations: 485.2 kB / 1.511 GB, free: 15.29 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.5383, allocations: 329.2 kB / 1.511 GB, free: 14.97 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.5386, allocations: 162.6 kB / 1.512 GB, free: 14.8 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.5387, allocations: 341.9 kB / 1.512 GB, free: 14.46 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/0.5395, allocations: 333.8 kB / 1.512 GB, free: 14.14 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009336/0.5405, allocations: 477.1 kB / 1.513 GB, free: 13.64 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.5421, allocations: 0.7648 MB / 1.513 GB, free: 12.86 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.5422, allocations: 0 / 1.513 GB, free: 12.86 MB / 1.217 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002744/0.5449, allocations: 1.045 MB / 1.514 GB, free: 11.8 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.5449, allocations: 4 kB / 1.514 GB, free: 11.8 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.5449, allocations: 0 / 1.514 GB, free: 11.8 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/0.5457, allocations: 113.7 kB / 1.515 GB, free: 11.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009105/0.5466, allocations: 203.7 kB / 1.515 GB, free: 11.48 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/0.5501, allocations: 3.072 MB / 1.518 GB, free: 8.125 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/0.5511, allocations: 107.5 kB / 1.518 GB, free: 8.02 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5512, allocations: 39.97 kB / 1.518 GB, free: 7.98 MB / 1.217 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.0006084/0.5518, allocations: 305.5 kB / 1.518 GB, free: 7.672 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.5521, allocations: 115.3 kB / 1.518 GB, free: 7.559 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003238/0.5553, allocations: 1.318 MB / 1.52 GB, free: 6.219 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.5554, allocations: 12 kB / 1.52 GB, free: 6.207 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.5554, allocations: 4 kB / 1.52 GB, free: 6.203 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.5554, allocations: 7.969 kB / 1.52 GB, free: 6.195 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005045/0.5604, allocations: 2.455 MB / 1.522 GB, free: 3.68 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.5604, allocations: 4 kB / 1.522 GB, free: 3.676 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.5613, allocations: 199.7 kB / 1.522 GB, free: 3.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005775/0.5619, allocations: 101.6 kB / 1.522 GB, free: 3.375 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.473e-05/0.562, allocations: 31.97 kB / 1.522 GB, free: 3.344 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/0.5652, allocations: 3.084 MB / 1.525 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5653, allocations: 0 / 1.525 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/0.5682, allocations: 1.249 MB / 1.527 GB, free: 14.7 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006242/0.5688, allocations: 332 kB / 1.527 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.569, allocations: 23.98 kB / 1.527 GB, free: 14.33 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009633/0.57, allocations: 84.39 kB / 1.527 GB, free: 14.25 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.5702, allocations: 88.81 kB / 1.527 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.5703, allocations: 43.97 kB / 1.527 GB, free: 14.12 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001189/0.5715, allocations: 0.7684 MB / 1.528 GB, free: 13.35 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5715, allocations: 0 / 1.528 GB, free: 13.35 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001393/0.5729, allocations: 450.9 kB / 1.528 GB, free: 12.91 MB / 1.232 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.005494/0.5784, allocations: 2.389 MB / 1.531 GB, free: 10.68 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002479/0.5809, allocations: 1.076 MB / 1.532 GB, free: 9.57 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5809, allocations: 0 / 1.532 GB, free: 9.57 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.5823, allocations: 0.7059 MB / 1.532 GB, free: 8.844 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.584, allocations: 361.7 kB / 1.533 GB, free: 8.52 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.6008, allocations: 8.446 MB / 1.541 GB, free: 15.92 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009382/0.6017, allocations: 1.107 MB / 1.542 GB, free: 14.78 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001171/0.6029, allocations: 328 kB / 1.542 GB, free: 14.46 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/0.6037, allocations: 475.2 kB / 1.543 GB, free: 14 MB / 1.248 GB Notification: Performance of SimCode: time 1.122e-06/0.6037, allocations: 4 kB / 1.543 GB, free: 13.99 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07951/0.6832, allocations: 28.68 MB / 1.571 GB, free: 1.621 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.57, allocations: 8.047 kB / 1.571 GB, free: 1.613 MB / 1.264 GB " [Timeout remaining time 285] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/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] "Error: Could not read variable winDir.y in file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable winDir.y from file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! Error: Could not read variable weaDat.winSpe in file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable weaDat.winSpe from file Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.934535996057093]