Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.0008715/0.0008715, 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.0008373/0.0008373, 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.8477/0.8477, allocations: 177.1 MB / 202.8 MB, free: 5.547 MB / 186.7 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 1.671/1.671, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.9997 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.313e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5405/0.5406, allocations: 148.1 MB / 1.144 GB, free: 7.5 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01583/0.5564, allocations: 15.87 MB / 1.16 GB, free: 12.81 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.5579, allocations: 37.38 kB / 1.16 GB, free: 12.79 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.5593, allocations: 0.5473 MB / 1.16 GB, free: 12.46 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.5634, allocations: 1.694 MB / 1.162 GB, free: 11.48 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.5662, allocations: 1.38 MB / 1.163 GB, free: 10.72 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003114/0.5694, allocations: 2.781 MB / 1.166 GB, free: 9.297 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.571, allocations: 1.449 MB / 1.168 GB, free: 8.523 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.5741, allocations: 1.904 MB / 1.169 GB, free: 7.699 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.5751, allocations: 0.797 MB / 1.17 GB, free: 7.406 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.5754, allocations: 215.2 kB / 1.17 GB, free: 7.406 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.5778, allocations: 1.311 MB / 1.172 GB, free: 7.02 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.5782, allocations: 0.5887 MB / 1.172 GB, free: 6.652 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0008141/0.579, allocations: 0.7307 MB / 1.173 GB, free: 6.305 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004996/0.584, allocations: 3.354 MB / 1.176 GB, free: 4.984 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.584, allocations: 0 / 1.176 GB, free: 4.984 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.734e-06/0.584, allocations: 1.062 kB / 1.176 GB, free: 4.984 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.157e-05/0.5841, allocations: 0 / 1.176 GB, free: 4.984 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00387/0.588, allocations: 2.291 MB / 1.178 GB, free: 3.562 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.588, allocations: 10.86 kB / 1.178 GB, free: 3.562 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002508/0.5883, allocations: 253.4 kB / 1.179 GB, free: 3.406 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.5906, allocations: 0.581 MB / 1.179 GB, free: 3.266 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.5921, allocations: 1.055 MB / 1.18 GB, free: 2.637 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.5922, allocations: 134 kB / 1.18 GB, free: 2.578 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.5924, allocations: 171 kB / 1.181 GB, free: 2.523 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.595, allocations: 2.626 MB / 1.183 GB, free: 0.8164 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.595, allocations: 0 / 1.183 GB, free: 0.8164 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.5952, allocations: 78.38 kB / 1.183 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.5952, allocations: 45.66 kB / 1.183 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.5974, allocations: 1.834 MB / 1.185 GB, free: 256 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005913/0.6034, allocations: 4.157 MB / 1.189 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001957/0.6053, allocations: 1.41 MB / 1.191 GB, free: 13.53 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.6061, allocations: 0.6069 MB / 1.191 GB, free: 13.3 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005748/0.6066, allocations: 174.4 kB / 1.191 GB, free: 13.28 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.6079, allocations: 1.524 MB / 1.193 GB, free: 12.18 MB / 1.042 GB Notification: Performance of pre-optimization done (n=154): time 3.577e-06/0.608, allocations: 0 / 1.193 GB, free: 12.18 MB / 1.042 GB Notification: Performance of matching and sorting (n=154): time 0.004153/0.6121, allocations: 2.228 MB / 1.195 GB, free: 11.18 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.6122, allocations: 209 kB / 1.195 GB, free: 10.95 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009759/0.6132, allocations: 0.8542 MB / 1.196 GB, free: 10.45 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.6133, allocations: 62.11 kB / 1.196 GB, free: 10.4 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.6138, allocations: 0.6673 MB / 1.197 GB, free: 9.809 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.6141, allocations: 0.5085 MB / 1.197 GB, free: 9.355 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.6143, allocations: 256 kB / 1.197 GB, free: 9.207 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.6144, allocations: 362.1 kB / 1.198 GB, free: 8.859 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006504/0.6151, allocations: 0.4902 MB / 1.198 GB, free: 8.613 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008212/0.6159, allocations: 0.9018 MB / 1.199 GB, free: 7.91 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.6172, allocations: 1.15 MB / 1.2 GB, free: 7.309 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6172, allocations: 0 / 1.2 GB, free: 7.309 MB / 1.042 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002103/0.6193, allocations: 1.59 MB / 1.202 GB, free: 6.477 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.6194, allocations: 9.969 kB / 1.202 GB, free: 6.473 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6194, allocations: 0 / 1.202 GB, free: 6.473 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.6198, allocations: 198.6 kB / 1.202 GB, free: 6.355 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007633/0.6206, allocations: 338.5 kB / 1.202 GB, free: 6.27 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.6244, allocations: 6.739 MB / 1.209 GB, free: 15.5 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.6254, allocations: 157.5 kB / 1.209 GB, free: 15.4 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.402e-05/0.6255, allocations: 52.28 kB / 1.209 GB, free: 15.38 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (161): * Single equations (assignments): 156 * 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.0008428/0.6263, allocations: 394.6 kB / 1.209 GB, free: 15.09 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.6266, allocations: 144.3 kB / 1.21 GB, free: 15.01 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/0.629, allocations: 1.872 MB / 1.211 GB, free: 13.94 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.629, allocations: 18.59 kB / 1.211 GB, free: 13.94 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.629, allocations: 0 / 1.211 GB, free: 13.94 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.629, allocations: 11.91 kB / 1.211 GB, free: 13.93 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/0.6333, allocations: 3.418 MB / 1.215 GB, free: 11.8 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6333, allocations: 0 / 1.215 GB, free: 11.8 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007282/0.6341, allocations: 337.7 kB / 1.215 GB, free: 11.7 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/0.6344, allocations: 177.7 kB / 1.215 GB, free: 11.6 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.578e-05/0.6345, allocations: 41.38 kB / 1.215 GB, free: 11.57 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/0.6378, allocations: 6.782 MB / 1.222 GB, free: 4.785 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6378, allocations: 0 / 1.222 GB, free: 4.785 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.6405, allocations: 1.771 MB / 1.224 GB, free: 3.805 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006912/0.6412, allocations: 333.5 kB / 1.224 GB, free: 3.559 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.6413, allocations: 30.5 kB / 1.224 GB, free: 3.539 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.6419, allocations: 108.7 kB / 1.224 GB, free: 3.484 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.6421, allocations: 120.6 kB / 1.224 GB, free: 3.41 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.655e-05/0.6422, allocations: 71.11 kB / 1.224 GB, free: 3.383 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0005836/0.6428, allocations: 0.5947 MB / 1.225 GB, free: 3.031 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/0.6428, allocations: 2.875 kB / 1.225 GB, free: 3.031 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001357/0.6441, allocations: 0.6149 MB / 1.226 GB, free: 2.852 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (156): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00363/0.6478, allocations: 2.992 MB / 1.228 GB, free: 156 kB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.6501, allocations: 1.842 MB / 1.23 GB, free: 14.25 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.6501, allocations: 4.891 kB / 1.23 GB, free: 14.24 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.6515, allocations: 1.266 MB / 1.231 GB, free: 12.91 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.653, allocations: 0.5086 MB / 1.232 GB, free: 12.41 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.6652, allocations: 10.29 MB / 1.242 GB, free: 1.965 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.6657, allocations: 0.7256 MB / 1.243 GB, free: 1.207 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001057/0.6667, allocations: 450.6 kB / 1.243 GB, free: 0.7617 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/0.6674, allocations: 0.6643 MB / 1.244 GB, free: 100 kB / 1.073 GB Notification: Performance of SimCode: time 1.232e-06/0.6674, allocations: 4 kB / 1.244 GB, free: 96 kB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06061/0.728, allocations: 41.12 MB / 1.284 GB, free: 7.496 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.757/9.485, allocations: 12.58 kB / 1.284 GB, free: 7.492 MB / 1.12 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.552590234205127]