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.001455/0.001455, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0017/0.0017, allocations: 216.5 kB / 22.25 MB, free: 5.262 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 7.805 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.003/3.003, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.001904/0.001904, allocations: 69.06 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3177, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1696/0.4873, allocations: 135.9 MB / 1.496 GB, free: 5.68 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.5019, allocations: 9.936 MB / 1.506 GB, free: 11.71 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/0.5028, allocations: 31.81 kB / 1.506 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009318/0.5037, allocations: 289.6 kB / 1.506 GB, free: 11.4 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002882/0.5066, allocations: 1.017 MB / 1.507 GB, free: 10.38 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.5093, allocations: 1.098 MB / 1.508 GB, free: 9.293 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002085/0.5114, allocations: 1.752 MB / 1.51 GB, free: 7.535 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.5127, allocations: 0.928 MB / 1.511 GB, free: 6.574 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.5146, allocations: 0.7478 MB / 1.512 GB, free: 5.836 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007684/0.5153, allocations: 0.591 MB / 1.512 GB, free: 5.242 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.5155, allocations: 136 kB / 1.512 GB, free: 5.109 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.5175, allocations: 1.022 MB / 1.513 GB, free: 4.086 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003804/0.5179, allocations: 382.8 kB / 1.514 GB, free: 3.711 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005975/0.5185, allocations: 0.5598 MB / 1.514 GB, free: 3.148 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003114/0.5216, allocations: 2.292 MB / 1.516 GB, free: 0.8477 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5216, allocations: 3.984 kB / 1.516 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.532e-06/0.5216, allocations: 0 / 1.516 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.5216, allocations: 8 kB / 1.516 GB, free: 0.8359 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.003083/0.5247, allocations: 1.73 MB / 1.518 GB, free: 15.07 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5247, allocations: 12.02 kB / 1.518 GB, free: 15.06 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/0.5249, allocations: 152 kB / 1.518 GB, free: 14.9 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.5269, allocations: 326.8 kB / 1.519 GB, free: 14.58 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.5286, allocations: 1.029 MB / 1.52 GB, free: 13.52 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.5287, allocations: 70 kB / 1.52 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.5288, allocations: 96 kB / 1.52 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.5309, allocations: 1.486 MB / 1.521 GB, free: 11.74 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.531, allocations: 0 / 1.521 GB, free: 11.74 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/0.5311, allocations: 48 kB / 1.521 GB, free: 11.7 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.5311, allocations: 24 kB / 1.521 GB, free: 11.67 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.5333, allocations: 1.268 MB / 1.522 GB, free: 10.4 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.5383, allocations: 2.771 MB / 1.525 GB, free: 7.57 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.5402, allocations: 0.978 MB / 1.526 GB, free: 6.594 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007428/0.541, allocations: 387.6 kB / 1.526 GB, free: 6.211 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.5412, allocations: 60.89 kB / 1.527 GB, free: 6.152 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.5424, allocations: 0.8436 MB / 1.527 GB, free: 5.234 MB / 1.217 GB Notification: Performance of pre-optimization done (n=95): time 2.835e-06/0.5424, allocations: 0 / 1.527 GB, free: 5.234 MB / 1.217 GB Notification: Performance of matching and sorting (n=95): time 0.004046/0.5465, allocations: 1.493 MB / 1.529 GB, free: 3.73 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.5466, allocations: 196.9 kB / 1.529 GB, free: 3.496 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.5479, allocations: 1.048 MB / 1.53 GB, free: 2.438 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.013e-05/0.548, allocations: 49.7 kB / 1.53 GB, free: 2.383 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/0.5484, allocations: 493.1 kB / 1.531 GB, free: 1.895 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.5487, allocations: 325.3 kB / 1.531 GB, free: 1.574 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.5489, allocations: 166.6 kB / 1.531 GB, free: 1.402 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5491, allocations: 338 kB / 1.531 GB, free: 1.066 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007156/0.5498, allocations: 329.8 kB / 1.532 GB, free: 0.7461 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009552/0.5508, allocations: 0.6628 MB / 1.532 GB, free: 0 / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.5523, allocations: 0.7648 MB / 1.533 GB, free: 15.22 MB / 1.233 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5523, allocations: 4 kB / 1.533 GB, free: 15.22 MB / 1.233 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002467/0.5548, allocations: 1.045 MB / 1.534 GB, free: 14.16 MB / 1.233 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5548, allocations: 4 kB / 1.534 GB, free: 14.16 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5548, allocations: 0 / 1.534 GB, free: 14.16 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007229/0.5555, allocations: 117.6 kB / 1.534 GB, free: 14.04 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008561/0.5564, allocations: 199.7 kB / 1.534 GB, free: 13.84 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.5595, allocations: 2.844 MB / 1.537 GB, free: 10.76 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/0.5603, allocations: 111.3 kB / 1.537 GB, free: 10.65 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/0.5604, allocations: 48.03 kB / 1.537 GB, free: 10.6 MB / 1.233 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.0005084/0.5609, allocations: 305.7 kB / 1.538 GB, free: 10.29 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.5611, allocations: 107.3 kB / 1.538 GB, free: 10.19 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.5641, allocations: 1.326 MB / 1.539 GB, free: 8.844 MB / 1.233 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.5641, allocations: 8 kB / 1.539 GB, free: 8.836 MB / 1.233 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5641, allocations: 0 / 1.539 GB, free: 8.836 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.5641, allocations: 7.984 kB / 1.539 GB, free: 8.828 MB / 1.233 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004251/0.5683, allocations: 2.259 MB / 1.541 GB, free: 6.516 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.5683, allocations: 7.938 kB / 1.541 GB, free: 6.508 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008096/0.5691, allocations: 195.7 kB / 1.541 GB, free: 6.316 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005481/0.5697, allocations: 101.6 kB / 1.542 GB, free: 6.211 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-05/0.5698, allocations: 35.97 kB / 1.542 GB, free: 6.176 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003114/0.5729, allocations: 2.874 MB / 1.544 GB, free: 3.066 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5729, allocations: 0 / 1.544 GB, free: 3.066 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.5756, allocations: 1.241 MB / 1.546 GB, free: 1.801 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.5762, allocations: 250.9 kB / 1.546 GB, free: 1.555 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.5764, allocations: 27.98 kB / 1.546 GB, free: 1.527 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.5772, allocations: 72.86 kB / 1.546 GB, free: 1.457 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.5774, allocations: 96.89 kB / 1.546 GB, free: 1.363 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.375e-05/0.5775, allocations: 43.97 kB / 1.546 GB, free: 1.32 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0009802/0.5784, allocations: 0.7684 MB / 1.547 GB, free: 0.5547 MB / 1.233 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5784, allocations: 0 / 1.547 GB, free: 0.5547 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.001128/0.5796, allocations: 458.9 kB / 1.547 GB, free: 108 kB / 1.233 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.005028/0.5846, allocations: 2.43 MB / 1.55 GB, free: 13.86 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002186/0.5868, allocations: 1.076 MB / 1.551 GB, free: 12.75 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5868, allocations: 0 / 1.551 GB, free: 12.75 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.588, allocations: 0.7019 MB / 1.551 GB, free: 12.03 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.5895, allocations: 366.2 kB / 1.552 GB, free: 11.69 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.6032, allocations: 8.441 MB / 1.56 GB, free: 3.105 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/0.6038, allocations: 0.5127 MB / 1.56 GB, free: 2.555 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009715/0.6048, allocations: 320 kB / 1.561 GB, free: 2.238 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006956/0.6054, allocations: 479.2 kB / 1.561 GB, free: 1.77 MB / 1.248 GB Notification: Performance of SimCode: time 7.02e-07/0.6055, allocations: 0 / 1.561 GB, free: 1.77 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07586/0.6813, allocations: 30.59 MB / 1.591 GB, free: 3.559 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.1, allocations: 9.766 kB / 1.591 GB, free: 3.555 MB / 1.279 GB " [Timeout remaining time 286] (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: 20.517862162087113]