Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001474/0.001474, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001574/0.001574, allocations: 216 kB / 23.04 MB, free: 5.066 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.338/1.338, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.919/2.919, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",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.001795/0.001795, allocations: 74.91 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2947, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1845/0.4792, allocations: 172.1 MB / 1.513 GB, free: 3.738 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02163/0.5009, allocations: 17.74 MB / 1.531 GB, free: 1.949 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.5023, allocations: 43.62 kB / 1.531 GB, free: 1.906 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.5039, allocations: 0.5934 MB / 1.531 GB, free: 1.309 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.5085, allocations: 1.853 MB / 1.533 GB, free: 15.45 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.5119, allocations: 1.489 MB / 1.535 GB, free: 13.98 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003225/0.5151, allocations: 2.902 MB / 1.537 GB, free: 11.07 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.5171, allocations: 1.602 MB / 1.539 GB, free: 9.41 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00357/0.5206, allocations: 1.511 MB / 1.54 GB, free: 7.941 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.522, allocations: 1.151 MB / 1.542 GB, free: 6.785 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.5223, allocations: 224 kB / 1.542 GB, free: 6.566 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.5251, allocations: 1.665 MB / 1.543 GB, free: 4.898 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006859/0.5258, allocations: 0.8139 MB / 1.544 GB, free: 4.082 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.5269, allocations: 1.279 MB / 1.545 GB, free: 2.797 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004236/0.5312, allocations: 3.794 MB / 1.549 GB, free: 14.99 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5312, allocations: 3.938 kB / 1.549 GB, free: 14.98 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.572e-06/0.5312, allocations: 0 / 1.549 GB, free: 14.98 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.51e-05/0.5312, allocations: 4 kB / 1.549 GB, free: 14.98 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004619/0.5358, allocations: 2.946 MB / 1.552 GB, free: 11.98 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5359, allocations: 8.031 kB / 1.552 GB, free: 11.97 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.339e-05/0.5359, allocations: 51.3 kB / 1.552 GB, free: 11.92 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002853/0.5362, allocations: 248.8 kB / 1.552 GB, free: 11.67 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/0.5402, allocations: 0.6306 MB / 1.553 GB, free: 11.04 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003925/0.5441, allocations: 3.37 MB / 1.556 GB, free: 7.629 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5442, allocations: 127.4 kB / 1.556 GB, free: 7.504 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.5444, allocations: 179.9 kB / 1.557 GB, free: 7.328 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/0.5475, allocations: 1.937 MB / 1.558 GB, free: 5.34 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.5475, allocations: 0 / 1.558 GB, free: 5.34 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.5477, allocations: 72 kB / 1.558 GB, free: 5.27 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.302e-05/0.5477, allocations: 40 kB / 1.559 GB, free: 5.23 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.5511, allocations: 2.093 MB / 1.561 GB, free: 3.133 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008814/0.5599, allocations: 6.694 MB / 1.567 GB, free: 12.04 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.563, allocations: 1.707 MB / 1.569 GB, free: 10.33 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.5642, allocations: 0.6982 MB / 1.569 GB, free: 9.629 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004028/0.5646, allocations: 133.2 kB / 1.57 GB, free: 9.5 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001662/0.5662, allocations: 1.005 MB / 1.571 GB, free: 8.477 MB / 1.264 GB Notification: Performance of pre-optimization done (n=146): time 2.365e-06/0.5662, allocations: 0 / 1.571 GB, free: 8.477 MB / 1.264 GB Notification: Performance of matching and sorting (n=146): time 0.006255/0.5725, allocations: 2.594 MB / 1.573 GB, free: 5.859 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.5726, allocations: 209.2 kB / 1.573 GB, free: 5.613 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/0.577, allocations: 4.081 MB / 1.577 GB, free: 1.527 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.5771, allocations: 61.7 kB / 1.577 GB, free: 1.461 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007467/0.5779, allocations: 0.9037 MB / 1.578 GB, free: 0.5469 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.5783, allocations: 0.4957 MB / 1.579 GB, free: 48 kB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/0.5786, allocations: 235 kB / 1.579 GB, free: 15.81 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5788, allocations: 349.9 kB / 1.579 GB, free: 15.46 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.5799, allocations: 0.5726 MB / 1.58 GB, free: 14.89 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.5811, allocations: 0.797 MB / 1.581 GB, free: 14.02 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.5834, allocations: 1.314 MB / 1.582 GB, free: 12.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5834, allocations: 0 / 1.582 GB, free: 12.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003657/0.5871, allocations: 1.776 MB / 1.584 GB, free: 10.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5871, allocations: 10.12 kB / 1.584 GB, free: 10.89 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5871, allocations: 0 / 1.584 GB, free: 10.89 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.5881, allocations: 216.1 kB / 1.584 GB, free: 10.67 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.5895, allocations: 327.6 kB / 1.584 GB, free: 10.35 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/0.5954, allocations: 6.814 MB / 1.591 GB, free: 2.969 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.5967, allocations: 159.2 kB / 1.591 GB, free: 2.812 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.5968, allocations: 51.97 kB / 1.591 GB, free: 2.762 MB / 1.279 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008015/0.5976, allocations: 485.5 kB / 1.591 GB, free: 2.277 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.5979, allocations: 198.7 kB / 1.592 GB, free: 2.082 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004347/0.6023, allocations: 2.138 MB / 1.594 GB, free: 15.91 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.6023, allocations: 16 kB / 1.594 GB, free: 15.9 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.6023, allocations: 7.938 kB / 1.594 GB, free: 15.89 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.6023, allocations: 7.969 kB / 1.594 GB, free: 15.88 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007111/0.6094, allocations: 4.076 MB / 1.598 GB, free: 11.73 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6094, allocations: 4 kB / 1.598 GB, free: 11.73 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.6108, allocations: 323.5 kB / 1.598 GB, free: 11.41 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009062/0.6117, allocations: 200.1 kB / 1.598 GB, free: 11.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.6119, allocations: 43.95 kB / 1.598 GB, free: 11.16 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005937/0.6178, allocations: 6.839 MB / 1.605 GB, free: 3.734 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.6178, allocations: 0 / 1.605 GB, free: 3.734 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/0.6221, allocations: 2.014 MB / 1.607 GB, free: 1.688 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.6231, allocations: 454 kB / 1.607 GB, free: 1.242 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.6233, allocations: 28 kB / 1.607 GB, free: 1.215 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.6246, allocations: 109.8 kB / 1.608 GB, free: 1.109 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.6248, allocations: 117.2 kB / 1.608 GB, free: 0.9961 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.625, allocations: 75.88 kB / 1.608 GB, free: 0.9219 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.5218/1.147, allocations: 3.133 MB / 1.611 GB, free: 259.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.91e-07/1.147, allocations: 3.5 kB / 1.611 GB, free: 259.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002099/1.149, allocations: 0.6936 MB / 1.611 GB, free: 259.1 MB / 1.295 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.006023/1.155, allocations: 3.196 MB / 1.615 GB, free: 258.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003098/1.158, allocations: 1.995 MB / 1.617 GB, free: 257.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.158, allocations: 3.625 kB / 1.617 GB, free: 257.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/1.16, allocations: 1.367 MB / 1.618 GB, free: 256.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/1.162, allocations: 0.5551 MB / 1.618 GB, free: 256.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02891/1.191, allocations: 20.91 MB / 1.639 GB, free: 248.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.192, allocations: 1.537 MB / 1.64 GB, free: 248.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001665/1.194, allocations: 0.5239 MB / 1.641 GB, free: 248 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000972/1.195, allocations: 0.9112 MB / 1.642 GB, free: 247.3 MB / 1.295 GB Notification: Performance of SimCode: time 7.71e-07/1.195, allocations: 0 / 1.642 GB, free: 247.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08124/1.276, allocations: 50.54 MB / 1.691 GB, free: 204.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.96, allocations: 2.578 kB / 1.691 GB, free: 204.8 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.380456910992507]