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.001169/0.001169, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001342/0.001342, allocations: 214.7 kB / 22.26 MB, free: 5.117 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.299/1.299, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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 2.918/2.918, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.001863/0.001863, allocations: 71.83 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2845, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1681/0.4527, allocations: 158 MB / 1.507 GB, free: 9.863 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.4671, allocations: 10.85 MB / 1.518 GB, free: 14.98 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009511/0.4681, allocations: 27.75 kB / 1.518 GB, free: 14.95 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0009751/0.469, allocations: 293.7 kB / 1.518 GB, free: 14.66 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.472, allocations: 1.024 MB / 1.519 GB, free: 13.64 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.4747, allocations: 1.13 MB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002133/0.4768, allocations: 1.744 MB / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.4782, allocations: 0.9515 MB / 1.523 GB, free: 9.789 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.48, allocations: 0.7589 MB / 1.524 GB, free: 9.039 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000836/0.4809, allocations: 0.6418 MB / 1.524 GB, free: 8.395 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.4811, allocations: 136 kB / 1.524 GB, free: 8.262 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.4831, allocations: 1.116 MB / 1.525 GB, free: 7.145 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003791/0.4835, allocations: 390.8 kB / 1.526 GB, free: 6.762 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006712/0.4842, allocations: 0.6802 MB / 1.526 GB, free: 6.078 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.4872, allocations: 2.292 MB / 1.529 GB, free: 3.777 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4872, allocations: 0 / 1.529 GB, free: 3.777 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4872, allocations: 0 / 1.529 GB, free: 3.777 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.642e-05/0.4872, allocations: 0 / 1.529 GB, free: 3.777 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.003213/0.4905, allocations: 1.742 MB / 1.53 GB, free: 1.996 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4905, allocations: 8.031 kB / 1.53 GB, free: 1.988 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.4907, allocations: 152.1 kB / 1.53 GB, free: 1.832 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.4928, allocations: 322.8 kB / 1.531 GB, free: 1.516 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.4945, allocations: 1.037 MB / 1.532 GB, free: 460 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/0.4946, allocations: 70 kB / 1.532 GB, free: 388 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.4947, allocations: 96 kB / 1.532 GB, free: 292 kB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.4966, allocations: 1.106 MB / 1.533 GB, free: 15.14 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.4967, allocations: 4 kB / 1.533 GB, free: 15.13 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.4967, allocations: 39.94 kB / 1.533 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.4968, allocations: 24 kB / 1.533 GB, free: 15.07 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.499, allocations: 1.323 MB / 1.534 GB, free: 13.74 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005556/0.5046, allocations: 3.478 MB / 1.538 GB, free: 10.1 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.5066, allocations: 0.9689 MB / 1.539 GB, free: 9.129 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007586/0.5073, allocations: 396.5 kB / 1.539 GB, free: 8.742 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.5076, allocations: 60.88 kB / 1.539 GB, free: 8.68 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.5087, allocations: 0.6216 MB / 1.54 GB, free: 8.039 MB / 1.232 GB Notification: Performance of pre-optimization done (n=95): time 4.318e-06/0.5087, allocations: 3.984 kB / 1.54 GB, free: 8.035 MB / 1.232 GB Notification: Performance of matching and sorting (n=95): time 0.004183/0.5129, allocations: 1.485 MB / 1.541 GB, free: 6.539 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.513, allocations: 200.8 kB / 1.541 GB, free: 6.301 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.5144, allocations: 1.052 MB / 1.542 GB, free: 5.242 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.5145, allocations: 41.7 kB / 1.542 GB, free: 5.195 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.5149, allocations: 485.2 kB / 1.543 GB, free: 4.715 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.5152, allocations: 321.2 kB / 1.543 GB, free: 4.398 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.5155, allocations: 178.5 kB / 1.543 GB, free: 4.219 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5156, allocations: 338 kB / 1.544 GB, free: 3.883 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/0.5163, allocations: 333.8 kB / 1.544 GB, free: 3.555 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008109/0.5171, allocations: 465.1 kB / 1.545 GB, free: 3.066 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.5186, allocations: 0.7725 MB / 1.545 GB, free: 2.285 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5186, allocations: 0 / 1.545 GB, free: 2.285 MB / 1.232 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002485/0.5211, allocations: 1.049 MB / 1.546 GB, free: 1.219 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.5211, allocations: 4 kB / 1.546 GB, free: 1.215 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5211, allocations: 4 kB / 1.546 GB, free: 1.211 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007469/0.5218, allocations: 113.7 kB / 1.546 GB, free: 1.094 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/0.5227, allocations: 195.7 kB / 1.547 GB, free: 0.9023 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.5259, allocations: 2.865 MB / 1.549 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009676/0.5269, allocations: 114.1 kB / 1.55 GB, free: 13.7 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/0.527, allocations: 39.97 kB / 1.55 GB, free: 13.66 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.0005644/0.5275, allocations: 301.6 kB / 1.55 GB, free: 13.35 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.5278, allocations: 111.3 kB / 1.55 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/0.5307, allocations: 1.326 MB / 1.551 GB, free: 11.9 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5308, allocations: 8 kB / 1.551 GB, free: 11.89 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5308, allocations: 4 kB / 1.551 GB, free: 11.89 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5308, allocations: 3.984 kB / 1.551 GB, free: 11.88 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004441/0.5352, allocations: 2.426 MB / 1.554 GB, free: 9.402 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5352, allocations: 0 / 1.554 GB, free: 9.402 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/0.536, allocations: 195.7 kB / 1.554 GB, free: 9.211 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005636/0.5366, allocations: 109.5 kB / 1.554 GB, free: 9.098 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.74e-05/0.5367, allocations: 31.97 kB / 1.554 GB, free: 9.066 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/0.5397, allocations: 2.881 MB / 1.557 GB, free: 5.945 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5397, allocations: 0 / 1.557 GB, free: 5.945 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.5424, allocations: 1.241 MB / 1.558 GB, free: 4.684 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/0.543, allocations: 258.8 kB / 1.558 GB, free: 4.43 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.5431, allocations: 20 kB / 1.558 GB, free: 4.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008008/0.5439, allocations: 71.92 kB / 1.558 GB, free: 4.34 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.5441, allocations: 92.77 kB / 1.558 GB, free: 4.246 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.85e-05/0.5442, allocations: 51.97 kB / 1.558 GB, free: 4.195 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009682/0.5452, allocations: 0.7684 MB / 1.559 GB, free: 3.43 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.5452, allocations: 0 / 1.559 GB, free: 3.43 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001262/0.5464, allocations: 462.9 kB / 1.56 GB, free: 2.977 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.005018/0.5515, allocations: 2.383 MB / 1.562 GB, free: 0.7422 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.5538, allocations: 1.076 MB / 1.563 GB, free: 15.64 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5538, allocations: 8.062 kB / 1.563 GB, free: 15.63 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.5551, allocations: 0.698 MB / 1.564 GB, free: 14.91 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.5566, allocations: 367.6 kB / 1.564 GB, free: 14.58 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.5704, allocations: 8.449 MB / 1.572 GB, free: 5.977 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/0.5712, allocations: 1.111 MB / 1.573 GB, free: 4.836 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001039/0.5722, allocations: 328 kB / 1.574 GB, free: 4.512 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/0.5729, allocations: 471.2 kB / 1.574 GB, free: 4.051 MB / 1.264 GB Notification: Performance of SimCode: time 8.72e-07/0.5729, allocations: 0 / 1.574 GB, free: 4.051 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07608/0.649, allocations: 29.35 MB / 1.603 GB, free: 6.934 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.32, allocations: 2.234 kB / 1.603 GB, free: 6.934 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: 20.929082307999124]