Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001715/0.001715, allocations: 110.6 kB / 16.46 MB, free: 6.508 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.002098/0.002098, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.109/3.109, allocations: 0.505 GB / 0.8066 GB, free: 23.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_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.00198/0.00198, allocations: 74.3 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3277, allocations: 180.2 MB / 1.348 GB, free: 9.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1789/0.5066, allocations: 157.9 MB / 1.502 GB, free: 11.45 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.5212, allocations: 10.68 MB / 1.512 GB, free: 0.7344 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009052/0.5221, allocations: 31.75 kB / 1.512 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009438/0.5231, allocations: 293.6 kB / 1.513 GB, free: 424 kB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002938/0.526, allocations: 0.9946 MB / 1.514 GB, free: 15.42 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.5287, allocations: 1.105 MB / 1.515 GB, free: 14.32 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00226/0.531, allocations: 1.741 MB / 1.516 GB, free: 12.58 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.5324, allocations: 0.9507 MB / 1.517 GB, free: 11.59 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.5344, allocations: 0.7586 MB / 1.518 GB, free: 10.84 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000849/0.5352, allocations: 0.6341 MB / 1.519 GB, free: 10.21 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.5354, allocations: 140 kB / 1.519 GB, free: 10.07 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.5375, allocations: 1.088 MB / 1.52 GB, free: 8.98 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003966/0.5379, allocations: 390.7 kB / 1.52 GB, free: 8.598 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007329/0.5387, allocations: 0.6802 MB / 1.521 GB, free: 7.914 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.5421, allocations: 2.285 MB / 1.523 GB, free: 5.621 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.5421, allocations: 3.984 kB / 1.523 GB, free: 5.617 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5421, allocations: 3.938 kB / 1.523 GB, free: 5.613 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.465e-05/0.5422, allocations: 4 kB / 1.523 GB, free: 5.609 MB / 1.217 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.003689/0.5459, allocations: 1.809 MB / 1.525 GB, free: 3.746 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5459, allocations: 15.98 kB / 1.525 GB, free: 3.73 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/0.5461, allocations: 148.1 kB / 1.525 GB, free: 3.578 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.5484, allocations: 326.8 kB / 1.525 GB, free: 3.258 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.5502, allocations: 1.098 MB / 1.527 GB, free: 2.117 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/0.5502, allocations: 74 kB / 1.527 GB, free: 2.043 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.5504, allocations: 99.98 kB / 1.527 GB, free: 1.945 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.5524, allocations: 1.106 MB / 1.528 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.5524, allocations: 0 / 1.528 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.5526, allocations: 44 kB / 1.528 GB, free: 0.7578 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.5526, allocations: 28 kB / 1.528 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.555, allocations: 1.319 MB / 1.529 GB, free: 15.4 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005794/0.5608, allocations: 3.542 MB / 1.533 GB, free: 11.7 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.5629, allocations: 1.044 MB / 1.534 GB, free: 10.63 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007973/0.5637, allocations: 394.7 kB / 1.534 GB, free: 10.25 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/0.564, allocations: 138 kB / 1.534 GB, free: 10.09 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.5652, allocations: 0.6216 MB / 1.535 GB, free: 9.453 MB / 1.232 GB Notification: Performance of pre-optimization done (n=95): time 3.366e-06/0.5652, allocations: 0 / 1.535 GB, free: 9.453 MB / 1.232 GB Notification: Performance of matching and sorting (n=95): time 0.004474/0.5696, allocations: 1.64 MB / 1.536 GB, free: 7.766 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5698, allocations: 192.9 kB / 1.536 GB, free: 7.535 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.5712, allocations: 1.044 MB / 1.538 GB, free: 6.484 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.5713, allocations: 49.7 kB / 1.538 GB, free: 6.43 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.5718, allocations: 485.2 kB / 1.538 GB, free: 5.949 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.5721, allocations: 325.2 kB / 1.538 GB, free: 5.629 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.5724, allocations: 174.6 kB / 1.539 GB, free: 5.449 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5726, allocations: 334 kB / 1.539 GB, free: 5.117 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007718/0.5734, allocations: 333.8 kB / 1.539 GB, free: 4.793 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009078/0.5743, allocations: 473 kB / 1.54 GB, free: 4.297 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.5759, allocations: 0.7608 MB / 1.54 GB, free: 3.523 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.5759, allocations: 4 kB / 1.54 GB, free: 3.52 MB / 1.232 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002758/0.5786, allocations: 1.053 MB / 1.541 GB, free: 2.453 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5786, allocations: 4 kB / 1.541 GB, free: 2.449 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5787, allocations: 3.938 kB / 1.541 GB, free: 2.445 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007612/0.5794, allocations: 113.7 kB / 1.541 GB, free: 2.328 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/0.5804, allocations: 199.7 kB / 1.542 GB, free: 2.133 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.5839, allocations: 3.076 MB / 1.545 GB, free: 14.77 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.585, allocations: 109.4 kB / 1.545 GB, free: 14.67 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.5851, allocations: 35.97 kB / 1.545 GB, free: 14.63 MB / 1.248 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.0006176/0.5857, allocations: 309.5 kB / 1.545 GB, free: 14.32 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.586, allocations: 111.3 kB / 1.545 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.5892, allocations: 1.314 MB / 1.547 GB, free: 12.88 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.5892, allocations: 12 kB / 1.547 GB, free: 12.86 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5892, allocations: 4 kB / 1.547 GB, free: 12.86 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5892, allocations: 3.984 kB / 1.547 GB, free: 12.86 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/0.594, allocations: 2.466 MB / 1.549 GB, free: 10.33 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.594, allocations: 0 / 1.549 GB, free: 10.33 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008396/0.5948, allocations: 191.8 kB / 1.549 GB, free: 10.14 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/0.5954, allocations: 109.5 kB / 1.549 GB, free: 10.03 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.5955, allocations: 31.97 kB / 1.549 GB, free: 9.996 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.5987, allocations: 3.088 MB / 1.552 GB, free: 6.625 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5987, allocations: 0 / 1.552 GB, free: 6.625 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.6015, allocations: 1.245 MB / 1.553 GB, free: 5.355 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000507/0.602, allocations: 332 kB / 1.554 GB, free: 5.012 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.6021, allocations: 28.06 kB / 1.554 GB, free: 4.984 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008451/0.603, allocations: 75.91 kB / 1.554 GB, free: 4.91 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.6031, allocations: 84.83 kB / 1.554 GB, free: 4.828 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-05/0.6032, allocations: 47.91 kB / 1.554 GB, free: 4.781 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009724/0.6042, allocations: 0.7684 MB / 1.555 GB, free: 4.016 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6042, allocations: 0 / 1.555 GB, free: 4.016 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001273/0.6055, allocations: 458.9 kB / 1.555 GB, free: 3.566 MB / 1.248 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.005189/0.6107, allocations: 2.387 MB / 1.558 GB, free: 1.328 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.613, allocations: 1.076 MB / 1.559 GB, free: 232 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.613, allocations: 0 / 1.559 GB, free: 232 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.6143, allocations: 0.702 MB / 1.559 GB, free: 15.5 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.6158, allocations: 355.5 kB / 1.56 GB, free: 15.18 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.6301, allocations: 8.444 MB / 1.568 GB, free: 6.578 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/0.6309, allocations: 1.111 MB / 1.569 GB, free: 5.438 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001004/0.6319, allocations: 324 kB / 1.569 GB, free: 5.117 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/0.6326, allocations: 467.2 kB / 1.57 GB, free: 4.66 MB / 1.264 GB Notification: Performance of SimCode: time 8.02e-07/0.6326, allocations: 4 kB / 1.57 GB, free: 4.656 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08064/0.7133, allocations: 28.69 MB / 1.598 GB, free: 8.285 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.68, allocations: 12 kB / 1.598 GB, free: 8.273 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable winDir.y from file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! Error: Could not read variable weaDat.winSpe in file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv. Warning: Get data of variable weaDat.winSpe from file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.946726073045284]