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.001248/0.001248, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001425/0.001425, allocations: 218.2 kB / 22.24 MB, free: 5.254 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.785 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.973/2.973, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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.001965/0.001965, allocations: 67.86 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3026, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.165/0.4676, allocations: 135.9 MB / 1.459 GB, free: 9.059 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.4823, allocations: 9.944 MB / 1.468 GB, free: 15.09 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000789/0.4831, allocations: 31.75 kB / 1.468 GB, free: 15.06 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008248/0.4839, allocations: 277.7 kB / 1.469 GB, free: 14.79 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.4866, allocations: 1.009 MB / 1.47 GB, free: 13.78 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.4891, allocations: 1.117 MB / 1.471 GB, free: 12.67 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001911/0.491, allocations: 1.744 MB / 1.472 GB, free: 10.92 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.4924, allocations: 0.9476 MB / 1.473 GB, free: 9.934 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.4943, allocations: 0.7624 MB / 1.474 GB, free: 9.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007699/0.495, allocations: 0.634 MB / 1.475 GB, free: 8.543 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.4952, allocations: 136 kB / 1.475 GB, free: 8.41 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001969/0.4972, allocations: 1.053 MB / 1.476 GB, free: 7.355 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.4976, allocations: 390.8 kB / 1.476 GB, free: 6.973 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005618/0.4981, allocations: 0.5559 MB / 1.477 GB, free: 6.414 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003027/0.5012, allocations: 2.292 MB / 1.479 GB, free: 4.113 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5012, allocations: 0 / 1.479 GB, free: 4.113 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5012, allocations: 0 / 1.479 GB, free: 4.113 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.5012, allocations: 11.92 kB / 1.479 GB, free: 4.102 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.003129/0.5043, allocations: 1.722 MB / 1.481 GB, free: 2.344 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5044, allocations: 12.02 kB / 1.481 GB, free: 2.332 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001907/0.5046, allocations: 156.1 kB / 1.481 GB, free: 2.172 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.5066, allocations: 326.8 kB / 1.481 GB, free: 1.852 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.5084, allocations: 1.025 MB / 1.482 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-05/0.5084, allocations: 70 kB / 1.482 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.5086, allocations: 96 kB / 1.482 GB, free: 0.6328 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.5108, allocations: 1.486 MB / 1.484 GB, free: 15.01 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.5108, allocations: 3.938 kB / 1.484 GB, free: 15.01 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5109, allocations: 44 kB / 1.484 GB, free: 14.96 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.5109, allocations: 24 kB / 1.484 GB, free: 14.94 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.5132, allocations: 1.276 MB / 1.485 GB, free: 13.66 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005341/0.5185, allocations: 2.767 MB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.5205, allocations: 0.9725 MB / 1.489 GB, free: 9.859 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/0.5213, allocations: 392.4 kB / 1.489 GB, free: 9.469 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.5215, allocations: 52.89 kB / 1.489 GB, free: 9.418 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.5228, allocations: 0.863 MB / 1.49 GB, free: 8.48 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 2.715e-06/0.5228, allocations: 0 / 1.49 GB, free: 8.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.004065/0.5269, allocations: 1.481 MB / 1.491 GB, free: 6.988 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.527, allocations: 196.9 kB / 1.492 GB, free: 6.754 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.5284, allocations: 1.06 MB / 1.493 GB, free: 5.688 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.9e-05/0.5285, allocations: 45.7 kB / 1.493 GB, free: 5.637 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.5289, allocations: 485.2 kB / 1.493 GB, free: 5.156 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.5292, allocations: 321.3 kB / 1.493 GB, free: 4.84 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.5295, allocations: 166.6 kB / 1.494 GB, free: 4.668 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5296, allocations: 337.9 kB / 1.494 GB, free: 4.332 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/0.5303, allocations: 341.8 kB / 1.494 GB, free: 4 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009437/0.5313, allocations: 0.6589 MB / 1.495 GB, free: 3.258 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.5328, allocations: 0.7687 MB / 1.496 GB, free: 2.477 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.5328, allocations: 0 / 1.496 GB, free: 2.477 MB / 1.186 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002465/0.5352, allocations: 1.045 MB / 1.497 GB, free: 1.422 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5353, allocations: 4.062 kB / 1.497 GB, free: 1.418 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5353, allocations: 4 kB / 1.497 GB, free: 1.414 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007002/0.536, allocations: 117.6 kB / 1.497 GB, free: 1.293 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008561/0.5368, allocations: 199.7 kB / 1.497 GB, free: 1.098 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/0.54, allocations: 2.846 MB / 1.5 GB, free: 14.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008386/0.5409, allocations: 115.5 kB / 1.5 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.5409, allocations: 39.97 kB / 1.5 GB, free: 13.86 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.0005236/0.5415, allocations: 311.3 kB / 1.5 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.5417, allocations: 111.3 kB / 1.5 GB, free: 13.44 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.5446, allocations: 1.326 MB / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.5446, allocations: 8 kB / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5446, allocations: 0 / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5446, allocations: 3.984 kB / 1.502 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.5488, allocations: 2.267 MB / 1.504 GB, free: 9.762 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.5488, allocations: 4 kB / 1.504 GB, free: 9.758 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007926/0.5496, allocations: 187.8 kB / 1.504 GB, free: 9.574 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005257/0.5502, allocations: 109.5 kB / 1.504 GB, free: 9.461 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.5502, allocations: 35.97 kB / 1.504 GB, free: 9.426 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.5532, allocations: 2.863 MB / 1.507 GB, free: 6.328 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5532, allocations: 3.938 kB / 1.507 GB, free: 6.324 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/0.556, allocations: 1.249 MB / 1.508 GB, free: 5.051 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/0.5566, allocations: 258.9 kB / 1.508 GB, free: 4.797 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.5567, allocations: 27.92 kB / 1.508 GB, free: 4.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/0.5575, allocations: 82.25 kB / 1.509 GB, free: 4.691 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.5577, allocations: 92.77 kB / 1.509 GB, free: 4.602 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-05/0.5578, allocations: 39.97 kB / 1.509 GB, free: 4.562 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009608/0.5588, allocations: 0.7684 MB / 1.509 GB, free: 3.797 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5588, allocations: 0 / 1.509 GB, free: 3.797 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001196/0.56, allocations: 450.9 kB / 1.51 GB, free: 3.355 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.00529/0.5653, allocations: 2.424 MB / 1.512 GB, free: 1.113 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002287/0.5675, allocations: 1.08 MB / 1.513 GB, free: 4 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.5676, allocations: 4 kB / 1.513 GB, free: 0 / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.5689, allocations: 0.7059 MB / 1.514 GB, free: 15.27 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.5705, allocations: 366.8 kB / 1.514 GB, free: 14.93 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.5847, allocations: 8.439 MB / 1.523 GB, free: 6.348 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.5853, allocations: 0.5181 MB / 1.523 GB, free: 5.793 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001049/0.5864, allocations: 320 kB / 1.523 GB, free: 5.477 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006972/0.5871, allocations: 475.2 kB / 1.524 GB, free: 5.016 MB / 1.217 GB Notification: Performance of SimCode: time 6.41e-07/0.5871, allocations: 0 / 1.524 GB, free: 5.016 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07563/0.6627, allocations: 30.89 MB / 1.554 GB, free: 6.516 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.23, allocations: 0 / 1.554 GB, free: 6.516 MB / 1.248 GB " [Timeout remaining time 286] (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.612460349017056]