Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001493/0.001493, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001642/0.001642, allocations: 216.8 kB / 22.25 MB, free: 5.078 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.317/1.317, allocations: 230.6 MB / 256 MB, free: 8.031 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.863/2.863, allocations: 0.49 GB / 0.7951 GB, free: 33.53 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_Cp,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp",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.001876/0.001876, allocations: 67.3 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2986, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1905/0.4891, allocations: 180 MB / 1.502 GB, free: 13.32 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02012/0.5092, allocations: 16.04 MB / 1.517 GB, free: 13.23 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.5105, allocations: 47.56 kB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.512, allocations: 0.6324 MB / 1.518 GB, free: 12.55 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.516, allocations: 1.64 MB / 1.52 GB, free: 10.91 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003956/0.5199, allocations: 1.747 MB / 1.521 GB, free: 9.164 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.5233, allocations: 2.929 MB / 1.524 GB, free: 6.223 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/0.5254, allocations: 1.494 MB / 1.526 GB, free: 4.668 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.5297, allocations: 1.689 MB / 1.527 GB, free: 3.008 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.5314, allocations: 1.079 MB / 1.528 GB, free: 1.926 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0005154/0.5319, allocations: 200 kB / 1.528 GB, free: 1.73 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.5348, allocations: 1.419 MB / 1.53 GB, free: 316 kB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007318/0.5356, allocations: 0.5763 MB / 1.53 GB, free: 15.73 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.537, allocations: 1.046 MB / 1.531 GB, free: 14.68 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.5413, allocations: 3.082 MB / 1.534 GB, free: 11.59 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.5413, allocations: 0 / 1.534 GB, free: 11.59 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5413, allocations: 0 / 1.534 GB, free: 11.59 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.502e-05/0.5413, allocations: 0 / 1.534 GB, free: 11.59 MB / 1.232 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.003829/0.5451, allocations: 2.309 MB / 1.537 GB, free: 9.227 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.5452, allocations: 12.03 kB / 1.537 GB, free: 9.215 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000263/0.5454, allocations: 236.3 kB / 1.537 GB, free: 8.973 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.5488, allocations: 0.5294 MB / 1.537 GB, free: 8.441 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.5506, allocations: 1.073 MB / 1.539 GB, free: 7.328 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.5507, allocations: 119.2 kB / 1.539 GB, free: 7.211 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.5509, allocations: 156 kB / 1.539 GB, free: 7.059 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002852/0.5538, allocations: 1.784 MB / 1.541 GB, free: 5.195 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.5538, allocations: 0 / 1.541 GB, free: 5.195 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.5539, allocations: 72 kB / 1.541 GB, free: 5.125 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.554, allocations: 48 kB / 1.541 GB, free: 5.078 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/0.557, allocations: 1.772 MB / 1.542 GB, free: 3.301 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008233/0.5652, allocations: 6.246 MB / 1.548 GB, free: 12.65 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.5677, allocations: 1.258 MB / 1.55 GB, free: 11.39 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009565/0.5686, allocations: 0.5119 MB / 1.55 GB, free: 10.87 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/0.5692, allocations: 140.9 kB / 1.55 GB, free: 10.73 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/0.5706, allocations: 0.8087 MB / 1.551 GB, free: 9.91 MB / 1.248 GB Notification: Performance of pre-optimization done (n=126): time 2.574e-06/0.5706, allocations: 0 / 1.551 GB, free: 9.91 MB / 1.248 GB Notification: Performance of matching and sorting (n=126): time 0.004622/0.5752, allocations: 1.82 MB / 1.553 GB, free: 8.078 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.5753, allocations: 196.9 kB / 1.553 GB, free: 7.844 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.5767, allocations: 1.012 MB / 1.554 GB, free: 6.816 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.5768, allocations: 49.7 kB / 1.554 GB, free: 6.762 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005928/0.5774, allocations: 0.6816 MB / 1.555 GB, free: 6.07 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.5777, allocations: 436.2 kB / 1.555 GB, free: 5.641 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.5781, allocations: 218.8 kB / 1.555 GB, free: 5.418 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5782, allocations: 349.9 kB / 1.556 GB, free: 5.07 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008949/0.5791, allocations: 426.4 kB / 1.556 GB, free: 4.656 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.5802, allocations: 0.5975 MB / 1.557 GB, free: 4.008 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.5821, allocations: 1.011 MB / 1.558 GB, free: 2.973 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.5821, allocations: 0 / 1.558 GB, free: 2.973 MB / 1.248 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002945/0.585, allocations: 1.317 MB / 1.559 GB, free: 1.645 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.585, allocations: 8 kB / 1.559 GB, free: 1.637 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.585, allocations: 0 / 1.559 GB, free: 1.637 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.5856, allocations: 84.92 kB / 1.559 GB, free: 1.551 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.5869, allocations: 287.6 kB / 1.559 GB, free: 1.27 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.589, allocations: 1.549 MB / 1.561 GB, free: 15.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.5901, allocations: 135.2 kB / 1.561 GB, free: 15.47 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.865e-05/0.5902, allocations: 43.97 kB / 1.561 GB, free: 15.43 MB / 1.264 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.0007111/0.5909, allocations: 385.6 kB / 1.561 GB, free: 15.04 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/0.5912, allocations: 151 kB / 1.562 GB, free: 14.89 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003504/0.5947, allocations: 1.602 MB / 1.563 GB, free: 13.27 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.5947, allocations: 15.98 kB / 1.563 GB, free: 13.25 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5947, allocations: 4 kB / 1.563 GB, free: 13.25 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.5948, allocations: 3.984 kB / 1.563 GB, free: 13.25 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005633/0.6004, allocations: 3.158 MB / 1.566 GB, free: 10.04 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.6004, allocations: 7.938 kB / 1.566 GB, free: 10.03 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.6016, allocations: 267.7 kB / 1.567 GB, free: 9.766 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/0.6021, allocations: 72.78 kB / 1.567 GB, free: 9.691 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.6022, allocations: 43.97 kB / 1.567 GB, free: 9.648 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.6041, allocations: 1.567 MB / 1.568 GB, free: 7.965 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6041, allocations: 3.984 kB / 1.568 GB, free: 7.961 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/0.6083, allocations: 2.187 MB / 1.57 GB, free: 5.75 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000787/0.6091, allocations: 338.5 kB / 1.571 GB, free: 5.418 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.6093, allocations: 24 kB / 1.571 GB, free: 5.395 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.6104, allocations: 85.45 kB / 1.571 GB, free: 5.312 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.6106, allocations: 101.2 kB / 1.571 GB, free: 5.215 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.6108, allocations: 63.95 kB / 1.571 GB, free: 5.152 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001041/0.6118, allocations: 0.7041 MB / 1.572 GB, free: 4.441 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6118, allocations: 0 / 1.572 GB, free: 4.441 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001333/0.6131, allocations: 0.5532 MB / 1.572 GB, free: 3.887 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.006456/0.6196, allocations: 3.335 MB / 1.575 GB, free: 0.7031 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002493/0.6221, allocations: 1.197 MB / 1.577 GB, free: 15.49 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6221, allocations: 0.875 kB / 1.577 GB, free: 15.49 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.6234, allocations: 0.7166 MB / 1.577 GB, free: 14.77 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.6256, allocations: 0.5806 MB / 1.578 GB, free: 14.21 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.643, allocations: 10.17 MB / 1.588 GB, free: 3.863 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.644, allocations: 1.311 MB / 1.589 GB, free: 2.52 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001416/0.6454, allocations: 446.9 kB / 1.589 GB, free: 2.078 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009931/0.6464, allocations: 0.675 MB / 1.59 GB, free: 1.402 MB / 1.279 GB Notification: Performance of SimCode: time 4.81e-07/0.6464, allocations: 0 / 1.59 GB, free: 1.402 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6127/1.259, allocations: 38.71 MB / 1.628 GB, free: 271.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.38, allocations: 14.31 kB / 1.628 GB, free: 271.2 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.5056475950405]