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.0007665/0.0007665, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007691/0.0007691, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8389/0.8389, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.66/1.66, allocations: 377.8 MB / 0.6221 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9809 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.311e-05, allocations: 2.281 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.5427/0.5427, allocations: 155.3 MB / 1.133 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01371/0.5564, allocations: 14.64 MB / 1.147 GB, free: 14.25 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.5581, allocations: 43.62 kB / 1.147 GB, free: 14.23 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.5597, allocations: 0.6069 MB / 1.148 GB, free: 13.86 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004358/0.564, allocations: 1.669 MB / 1.149 GB, free: 12.89 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0039/0.5679, allocations: 1.743 MB / 1.151 GB, free: 11.97 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003828/0.5718, allocations: 3.019 MB / 1.154 GB, free: 10.45 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.574, allocations: 1.483 MB / 1.155 GB, free: 9.668 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004351/0.5784, allocations: 2.182 MB / 1.157 GB, free: 8.727 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.5796, allocations: 0.8599 MB / 1.158 GB, free: 8.422 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002749/0.5799, allocations: 205.8 kB / 1.158 GB, free: 8.422 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.5822, allocations: 1.249 MB / 1.16 GB, free: 8.043 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004819/0.5827, allocations: 0.6094 MB / 1.16 GB, free: 7.676 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.5839, allocations: 0.7222 MB / 1.161 GB, free: 7.344 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005561/0.5895, allocations: 3.25 MB / 1.164 GB, free: 6.066 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5895, allocations: 0 / 1.164 GB, free: 6.066 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5895, allocations: 0 / 1.164 GB, free: 6.066 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.255e-05/0.5895, allocations: 1.688 kB / 1.164 GB, free: 6.066 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.003743/0.5933, allocations: 2.327 MB / 1.166 GB, free: 4.621 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5933, allocations: 9.688 kB / 1.166 GB, free: 4.621 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.5935, allocations: 239.8 kB / 1.167 GB, free: 4.473 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.5956, allocations: 0.5176 MB / 1.167 GB, free: 4.336 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.5972, allocations: 1.088 MB / 1.168 GB, free: 3.68 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.5973, allocations: 130.2 kB / 1.168 GB, free: 3.621 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.5975, allocations: 161 kB / 1.169 GB, free: 3.57 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.6, allocations: 2.445 MB / 1.171 GB, free: 1.984 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.6, allocations: 2.406 kB / 1.171 GB, free: 1.984 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.6001, allocations: 74.34 kB / 1.171 GB, free: 1.93 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.6002, allocations: 50.16 kB / 1.171 GB, free: 1.926 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.6022, allocations: 1.723 MB / 1.173 GB, free: 1.453 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006244/0.6084, allocations: 4.7 MB / 1.177 GB, free: 14.66 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.6103, allocations: 1.312 MB / 1.179 GB, free: 14.16 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.611, allocations: 0.537 MB / 1.179 GB, free: 13.96 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003849/0.6114, allocations: 133.7 kB / 1.179 GB, free: 13.95 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.6125, allocations: 1.306 MB / 1.18 GB, free: 13.03 MB / 1.026 GB Notification: Performance of pre-optimization done (n=134): time 3.226e-06/0.6125, allocations: 3.938 kB / 1.18 GB, free: 13.03 MB / 1.026 GB Notification: Performance of matching and sorting (n=134): time 0.003313/0.6158, allocations: 1.868 MB / 1.182 GB, free: 12.36 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/0.6159, allocations: 203.5 kB / 1.183 GB, free: 12.13 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.6171, allocations: 1.021 MB / 1.184 GB, free: 11.71 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.6172, allocations: 60.55 kB / 1.184 GB, free: 11.66 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/0.6176, allocations: 0.6819 MB / 1.184 GB, free: 11.12 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.6179, allocations: 454.2 kB / 1.185 GB, free: 10.76 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.6182, allocations: 235.3 kB / 1.185 GB, free: 10.66 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.6183, allocations: 350.3 kB / 1.185 GB, free: 10.34 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/0.6189, allocations: 454.2 kB / 1.186 GB, free: 10.18 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007777/0.6197, allocations: 0.8222 MB / 1.186 GB, free: 9.609 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.621, allocations: 1.058 MB / 1.187 GB, free: 9.105 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.621, allocations: 0 / 1.187 GB, free: 9.105 MB / 1.026 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002303/0.6233, allocations: 1.379 MB / 1.189 GB, free: 8.555 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6233, allocations: 12.38 kB / 1.189 GB, free: 8.551 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.6234, allocations: 5.719 kB / 1.189 GB, free: 8.547 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.6237, allocations: 80.17 kB / 1.189 GB, free: 8.531 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007322/0.6244, allocations: 294.7 kB / 1.189 GB, free: 8.504 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.6259, allocations: 1.532 MB / 1.191 GB, free: 7.098 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009846/0.6268, allocations: 154.3 kB / 1.191 GB, free: 7.008 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.79e-05/0.6269, allocations: 50.66 kB / 1.191 GB, free: 7 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (149): * Single equations (assignments): 148 * 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.001005/0.6279, allocations: 388.8 kB / 1.191 GB, free: 6.734 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.6282, allocations: 151.7 kB / 1.191 GB, free: 6.656 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.6306, allocations: 1.639 MB / 1.193 GB, free: 6.004 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.6306, allocations: 17.16 kB / 1.193 GB, free: 6 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6306, allocations: 0 / 1.193 GB, free: 6 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.6306, allocations: 7.078 kB / 1.193 GB, free: 6 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.6347, allocations: 3.122 MB / 1.196 GB, free: 4.375 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6347, allocations: 0 / 1.196 GB, free: 4.375 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006815/0.6353, allocations: 269.3 kB / 1.196 GB, free: 4.316 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002917/0.6356, allocations: 79.38 kB / 1.196 GB, free: 4.273 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/0.6357, allocations: 35.31 kB / 1.196 GB, free: 4.25 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.637, allocations: 1.568 MB / 1.198 GB, free: 2.758 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.637, allocations: 0 / 1.198 GB, free: 2.758 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.6401, allocations: 2.235 MB / 1.2 GB, free: 1.551 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009323/0.641, allocations: 337.4 kB / 1.2 GB, free: 1.301 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.6411, allocations: 32.12 kB / 1.201 GB, free: 1.277 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.6417, allocations: 95.72 kB / 1.201 GB, free: 1.23 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.6419, allocations: 98.03 kB / 1.201 GB, free: 1.172 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/0.6419, allocations: 68.05 kB / 1.201 GB, free: 1.145 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0007104/0.6427, allocations: 0.7052 MB / 1.201 GB, free: 0.7422 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6427, allocations: 0 / 1.201 GB, free: 0.7422 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001312/0.644, allocations: 0.5573 MB / 1.202 GB, free: 0.5859 MB / 1.026 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003972/0.6479, allocations: 3.442 MB / 1.205 GB, free: 14.59 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.6497, allocations: 1.259 MB / 1.207 GB, free: 13.95 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6497, allocations: 4.625 kB / 1.207 GB, free: 13.95 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007755/0.6505, allocations: 0.7155 MB / 1.207 GB, free: 13.56 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.652, allocations: 0.5746 MB / 1.208 GB, free: 13.25 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.6657, allocations: 10.39 MB / 1.218 GB, free: 6.645 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.6663, allocations: 0.7404 MB / 1.219 GB, free: 5.863 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.001242/0.6675, allocations: 443.2 kB / 1.219 GB, free: 5.426 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000724/0.6682, allocations: 0.6877 MB / 1.22 GB, free: 4.738 MB / 1.042 GB Notification: Performance of SimCode: time 1.573e-06/0.6682, allocations: 0 / 1.22 GB, free: 4.738 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05709/0.7253, allocations: 41.31 MB / 1.26 GB, free: 12.07 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/9.278, allocations: 3.375 kB / 1.26 GB, free: 12.07 MB / 1.089 GB " [Timeout remaining time 291] (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/jenkins/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: 13.254327520728111]