Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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.001454/0.001454, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002423/0.002423, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.378/1.378, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.14/3.14, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001907/0.001907, allocations: 60.95 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3145, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.194/0.5085, allocations: 155.3 MB / 1.497 GB, free: 4.043 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.5303, allocations: 14.63 MB / 1.511 GB, free: 5.363 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.5319, allocations: 43.62 kB / 1.511 GB, free: 5.32 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.534, allocations: 0.5973 MB / 1.512 GB, free: 4.719 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004846/0.5389, allocations: 1.626 MB / 1.513 GB, free: 3.09 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.5434, allocations: 1.718 MB / 1.515 GB, free: 1.379 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004447/0.5479, allocations: 2.937 MB / 1.518 GB, free: 14.43 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00257/0.5504, allocations: 1.486 MB / 1.519 GB, free: 12.89 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.5551, allocations: 1.694 MB / 1.521 GB, free: 11.23 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.5571, allocations: 1.066 MB / 1.522 GB, free: 10.16 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0006192/0.5577, allocations: 200 kB / 1.522 GB, free: 9.961 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003356/0.561, allocations: 1.256 MB / 1.524 GB, free: 8.703 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007695/0.5618, allocations: 0.5802 MB / 1.524 GB, free: 8.121 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.5633, allocations: 0.8516 MB / 1.525 GB, free: 7.266 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.5684, allocations: 3.082 MB / 1.528 GB, free: 4.172 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5684, allocations: 0 / 1.528 GB, free: 4.172 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5684, allocations: 0 / 1.528 GB, free: 4.172 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.127e-05/0.5684, allocations: 0 / 1.528 GB, free: 4.172 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: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004555/0.573, allocations: 2.325 MB / 1.53 GB, free: 1.797 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.573, allocations: 8.031 kB / 1.53 GB, free: 1.789 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.945e-05/0.5731, allocations: 43.2 kB / 1.53 GB, free: 1.746 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002826/0.5733, allocations: 236.3 kB / 1.53 GB, free: 1.504 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/0.5771, allocations: 0.5138 MB / 1.531 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.5792, allocations: 1.077 MB / 1.532 GB, free: 15.87 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.5793, allocations: 119.2 kB / 1.532 GB, free: 15.75 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.5796, allocations: 160 kB / 1.532 GB, free: 15.59 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/0.5832, allocations: 2.419 MB / 1.535 GB, free: 12.94 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.5833, allocations: 0 / 1.535 GB, free: 12.94 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.5834, allocations: 68 kB / 1.535 GB, free: 12.88 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/0.5835, allocations: 47.94 kB / 1.535 GB, free: 12.83 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.5867, allocations: 1.776 MB / 1.537 GB, free: 11.05 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008549/0.5952, allocations: 4.649 MB / 1.541 GB, free: 6.285 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.5978, allocations: 1.257 MB / 1.542 GB, free: 5.027 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.5989, allocations: 0.5239 MB / 1.543 GB, free: 4.5 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/0.5995, allocations: 140.9 kB / 1.543 GB, free: 4.363 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/0.6013, allocations: 1.266 MB / 1.544 GB, free: 2.961 MB / 1.232 GB Notification: Performance of pre-optimization done (n=126): time 3.857e-06/0.6013, allocations: 4 kB / 1.544 GB, free: 2.957 MB / 1.232 GB Notification: Performance of matching and sorting (n=126): time 0.005008/0.6063, allocations: 1.82 MB / 1.546 GB, free: 1.129 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.6064, allocations: 196.9 kB / 1.546 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.6082, allocations: 1.008 MB / 1.547 GB, free: 15.87 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.6083, allocations: 57.7 kB / 1.547 GB, free: 15.81 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000762/0.6091, allocations: 0.6777 MB / 1.548 GB, free: 15.12 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000473/0.6096, allocations: 440.2 kB / 1.548 GB, free: 14.69 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/0.61, allocations: 218.8 kB / 1.548 GB, free: 14.46 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.6101, allocations: 341.9 kB / 1.549 GB, free: 14.12 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009387/0.6111, allocations: 426.4 kB / 1.549 GB, free: 13.71 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.6123, allocations: 0.8022 MB / 1.55 GB, free: 12.81 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.6143, allocations: 1.015 MB / 1.551 GB, free: 11.77 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6143, allocations: 0 / 1.551 GB, free: 11.77 MB / 1.248 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003051/0.6173, allocations: 1.309 MB / 1.552 GB, free: 10.45 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6173, allocations: 4 kB / 1.552 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.6173, allocations: 4 kB / 1.552 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/0.618, allocations: 88.92 kB / 1.552 GB, free: 10.36 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6193, allocations: 275.6 kB / 1.553 GB, free: 10.09 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.6215, allocations: 1.553 MB / 1.554 GB, free: 8.41 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.6226, allocations: 135.2 kB / 1.554 GB, free: 8.277 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.6228, allocations: 47.97 kB / 1.554 GB, free: 8.23 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007612/0.6235, allocations: 377.5 kB / 1.555 GB, free: 7.852 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.6238, allocations: 155 kB / 1.555 GB, free: 7.699 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/0.6274, allocations: 1.598 MB / 1.556 GB, free: 6.082 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.6274, allocations: 20 kB / 1.556 GB, free: 6.062 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.6274, allocations: 0 / 1.556 GB, free: 6.062 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.6274, allocations: 7.969 kB / 1.556 GB, free: 6.055 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005461/0.6329, allocations: 2.937 MB / 1.559 GB, free: 3.062 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6329, allocations: 4 kB / 1.559 GB, free: 3.059 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.6342, allocations: 271.6 kB / 1.56 GB, free: 2.793 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/0.6346, allocations: 76.77 kB / 1.56 GB, free: 2.715 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.6347, allocations: 35.97 kB / 1.56 GB, free: 2.68 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.6367, allocations: 1.559 MB / 1.561 GB, free: 1.004 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6367, allocations: 3.938 kB / 1.561 GB, free: 1 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/0.641, allocations: 2.187 MB / 1.563 GB, free: 14.79 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007468/0.6418, allocations: 338.6 kB / 1.564 GB, free: 14.46 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.642, allocations: 28 kB / 1.564 GB, free: 14.43 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.6431, allocations: 77.3 kB / 1.564 GB, free: 14.36 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.6433, allocations: 105.1 kB / 1.564 GB, free: 14.26 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.6435, allocations: 55.95 kB / 1.564 GB, free: 14.2 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001004/0.6445, allocations: 0.7081 MB / 1.565 GB, free: 13.49 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6445, allocations: 0 / 1.565 GB, free: 13.49 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00135/0.6458, allocations: 0.5571 MB / 1.565 GB, free: 12.93 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006815/0.6526, allocations: 3.376 MB / 1.568 GB, free: 9.734 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00264/0.6553, allocations: 1.205 MB / 1.57 GB, free: 8.516 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6553, allocations: 448 / 1.57 GB, free: 8.516 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.6566, allocations: 0.709 MB / 1.57 GB, free: 7.793 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/0.6592, allocations: 0.5735 MB / 1.571 GB, free: 7.242 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.678, allocations: 10.17 MB / 1.581 GB, free: 12.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008089/0.6788, allocations: 0.7283 MB / 1.581 GB, free: 12.13 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001609/0.6804, allocations: 442.9 kB / 1.582 GB, free: 11.7 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.6815, allocations: 0.6789 MB / 1.583 GB, free: 11.02 MB / 1.279 GB Notification: Performance of SimCode: time 9.22e-07/0.6815, allocations: 0 / 1.583 GB, free: 11.02 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.66/1.342, allocations: 40.5 MB / 1.622 GB, free: 259.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.92, allocations: 17.92 kB / 1.622 GB, free: 259.1 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.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.768619252019562]