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.001271/0.001271, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001536/0.001536, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.315/1.315, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 179] 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.837/2.837, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.00191/0.00191, allocations: 70.83 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2778, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1675/0.4453, allocations: 158 MB / 1.48 GB, free: 3.355 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.4595, allocations: 10.84 MB / 1.491 GB, free: 8.484 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007169/0.4602, allocations: 27.75 kB / 1.491 GB, free: 8.457 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008082/0.461, allocations: 297.6 kB / 1.491 GB, free: 8.164 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.4635, allocations: 1.008 MB / 1.492 GB, free: 7.156 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.466, allocations: 1.141 MB / 1.493 GB, free: 6.023 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001984/0.468, allocations: 1.748 MB / 1.495 GB, free: 4.27 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.4693, allocations: 0.9476 MB / 1.496 GB, free: 3.285 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.471, allocations: 0.7613 MB / 1.497 GB, free: 2.535 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007874/0.4718, allocations: 0.6341 MB / 1.497 GB, free: 1.898 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.472, allocations: 143.9 kB / 1.497 GB, free: 1.758 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.4739, allocations: 1.116 MB / 1.498 GB, free: 0.6406 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.4742, allocations: 390.7 kB / 1.499 GB, free: 264 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006321/0.4749, allocations: 0.684 MB / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.4777, allocations: 2.292 MB / 1.502 GB, free: 13.27 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4777, allocations: 0 / 1.502 GB, free: 13.27 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.193e-06/0.4777, allocations: 0 / 1.502 GB, free: 13.27 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.4777, allocations: 0 / 1.502 GB, free: 13.27 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.003187/0.4809, allocations: 1.734 MB / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4809, allocations: 8.031 kB / 1.503 GB, free: 11.49 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.4811, allocations: 152.1 kB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.4832, allocations: 322.8 kB / 1.504 GB, free: 11.02 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.4847, allocations: 1.041 MB / 1.505 GB, free: 9.949 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.4848, allocations: 70 kB / 1.505 GB, free: 9.879 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.4849, allocations: 96 kB / 1.505 GB, free: 9.785 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001848/0.4868, allocations: 1.113 MB / 1.506 GB, free: 8.633 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.4868, allocations: 0 / 1.506 GB, free: 8.633 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/0.4869, allocations: 40 kB / 1.506 GB, free: 8.594 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.4869, allocations: 20 kB / 1.506 GB, free: 8.574 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.4891, allocations: 1.323 MB / 1.507 GB, free: 7.246 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.4942, allocations: 3.478 MB / 1.511 GB, free: 3.602 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.496, allocations: 0.969 MB / 1.512 GB, free: 2.625 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007155/0.4967, allocations: 383.7 kB / 1.512 GB, free: 2.242 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.4969, allocations: 68.86 kB / 1.512 GB, free: 2.176 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.498, allocations: 0.6216 MB / 1.513 GB, free: 1.535 MB / 1.201 GB Notification: Performance of pre-optimization done (n=95): time 2.044e-06/0.498, allocations: 0 / 1.513 GB, free: 1.535 MB / 1.201 GB Notification: Performance of matching and sorting (n=95): time 0.003957/0.502, allocations: 1.481 MB / 1.514 GB, free: 44 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.5021, allocations: 204.8 kB / 1.514 GB, free: 15.8 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.5034, allocations: 1.052 MB / 1.515 GB, free: 14.74 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.333e-05/0.5034, allocations: 45.7 kB / 1.516 GB, free: 14.69 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.5038, allocations: 485.2 kB / 1.516 GB, free: 14.21 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.5041, allocations: 325.2 kB / 1.516 GB, free: 13.89 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.5044, allocations: 166.6 kB / 1.516 GB, free: 13.72 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5045, allocations: 345.9 kB / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/0.5052, allocations: 329.8 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008213/0.506, allocations: 477 kB / 1.518 GB, free: 12.55 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.5075, allocations: 0.7648 MB / 1.518 GB, free: 11.78 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5075, allocations: 0 / 1.518 GB, free: 11.78 MB / 1.217 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002394/0.5099, allocations: 1.049 MB / 1.519 GB, free: 10.72 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5099, allocations: 4 kB / 1.519 GB, free: 10.71 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5099, allocations: 0 / 1.519 GB, free: 10.71 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007356/0.5107, allocations: 113.7 kB / 1.519 GB, free: 10.6 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000846/0.5115, allocations: 195.7 kB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003129/0.5146, allocations: 2.878 MB / 1.522 GB, free: 7.297 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008254/0.5155, allocations: 111.4 kB / 1.523 GB, free: 7.188 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.5155, allocations: 36.05 kB / 1.523 GB, free: 7.152 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.000488/0.516, allocations: 305.6 kB / 1.523 GB, free: 6.844 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.5162, allocations: 115.3 kB / 1.523 GB, free: 6.73 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/0.5191, allocations: 1.314 MB / 1.524 GB, free: 5.391 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.5191, allocations: 12 kB / 1.524 GB, free: 5.379 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5191, allocations: 0 / 1.524 GB, free: 5.379 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.5191, allocations: 3.984 kB / 1.524 GB, free: 5.375 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004139/0.5233, allocations: 2.434 MB / 1.527 GB, free: 2.887 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.5233, allocations: 7.922 kB / 1.527 GB, free: 2.879 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.5241, allocations: 187.8 kB / 1.527 GB, free: 2.695 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005324/0.5246, allocations: 105.6 kB / 1.527 GB, free: 2.586 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.5247, allocations: 31.97 kB / 1.527 GB, free: 2.555 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/0.5275, allocations: 2.882 MB / 1.53 GB, free: 15.43 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.5275, allocations: 11.91 kB / 1.53 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.5301, allocations: 1.241 MB / 1.531 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.5306, allocations: 250.9 kB / 1.531 GB, free: 13.91 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.5307, allocations: 24 kB / 1.531 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007815/0.5315, allocations: 73.97 kB / 1.531 GB, free: 13.82 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.5317, allocations: 88.78 kB / 1.531 GB, free: 13.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-05/0.5318, allocations: 48.03 kB / 1.531 GB, free: 13.68 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009406/0.5327, allocations: 0.7723 MB / 1.532 GB, free: 12.91 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5327, allocations: 0 / 1.532 GB, free: 12.91 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001102/0.5338, allocations: 458.9 kB / 1.533 GB, free: 12.46 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.004812/0.5386, allocations: 2.392 MB / 1.535 GB, free: 10.23 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002123/0.5408, allocations: 1.072 MB / 1.536 GB, free: 9.129 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5408, allocations: 3.938 kB / 1.536 GB, free: 9.125 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.542, allocations: 0.7138 MB / 1.537 GB, free: 8.387 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.5434, allocations: 361.9 kB / 1.537 GB, free: 8.059 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.5569, allocations: 8.447 MB / 1.545 GB, free: 15.46 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/0.5577, allocations: 1.105 MB / 1.546 GB, free: 14.33 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009195/0.5586, allocations: 324 kB / 1.547 GB, free: 14.01 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006444/0.5593, allocations: 471.2 kB / 1.547 GB, free: 13.55 MB / 1.248 GB Notification: Performance of SimCode: time 7.71e-07/0.5593, allocations: 0 / 1.547 GB, free: 13.55 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07129/0.6306, allocations: 29.35 MB / 1.576 GB, free: 0.5 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.04, allocations: 2.812 kB / 1.576 GB, free: 0.5 MB / 1.264 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.11384496000028]