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.000788/0.000788, 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.000815/0.000815, allocations: 170.3 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.8111/0.8111, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.754/1.754, allocations: 389 MB / 0.633 GB, free: 12.68 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_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.377e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.5621/0.5622, allocations: 148.2 MB / 1.144 GB, free: 7.406 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.5768, allocations: 16.12 MB / 1.16 GB, free: 12.57 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.5779, allocations: 38.69 kB / 1.16 GB, free: 12.55 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.5791, allocations: 0.5711 MB / 1.161 GB, free: 12.2 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.5828, allocations: 1.872 MB / 1.163 GB, free: 11.17 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.5857, allocations: 1.481 MB / 1.164 GB, free: 10.36 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.00299/0.5887, allocations: 2.954 MB / 1.167 GB, free: 8.875 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.5904, allocations: 1.51 MB / 1.168 GB, free: 8.086 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.5934, allocations: 2 MB / 1.17 GB, free: 7.23 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.5945, allocations: 0.9331 MB / 1.171 GB, free: 6.898 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0003034/0.5948, allocations: 228.4 kB / 1.171 GB, free: 6.898 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.5974, allocations: 1.474 MB / 1.173 GB, free: 6.473 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0006326/0.598, allocations: 0.8539 MB / 1.174 GB, free: 6.004 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0008694/0.5989, allocations: 0.8733 MB / 1.175 GB, free: 5.594 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.6029, allocations: 3.963 MB / 1.178 GB, free: 4.086 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6029, allocations: 4 kB / 1.178 GB, free: 4.082 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6029, allocations: 0 / 1.178 GB, free: 4.082 MB / 1.026 GB Notification: Performance of Transformations before backend: time 3.113e-05/0.603, allocations: 1.219 kB / 1.178 GB, free: 4.082 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.00335/0.6063, allocations: 2.952 MB / 1.181 GB, free: 2.262 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6064, allocations: 14.59 kB / 1.181 GB, free: 2.258 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000209/0.6066, allocations: 246.4 kB / 1.182 GB, free: 2.105 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.6087, allocations: 0.6401 MB / 1.182 GB, free: 1.93 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/0.6115, allocations: 3.371 MB / 1.186 GB, free: 0.5273 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.495e-05/0.6116, allocations: 132.4 kB / 1.186 GB, free: 480 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.6118, allocations: 175.1 kB / 1.186 GB, free: 424 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.6141, allocations: 2.723 MB / 1.188 GB, free: 14.7 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.6142, allocations: 0 / 1.188 GB, free: 14.7 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.6143, allocations: 80.95 kB / 1.189 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.6143, allocations: 41.03 kB / 1.189 GB, free: 14.64 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.6166, allocations: 2.048 MB / 1.191 GB, free: 14.1 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005534/0.6221, allocations: 5.159 MB / 1.196 GB, free: 11.34 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.6241, allocations: 1.744 MB / 1.197 GB, free: 10.55 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008612/0.625, allocations: 0.7145 MB / 1.198 GB, free: 10.22 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.6252, allocations: 121.8 kB / 1.198 GB, free: 10.18 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.6264, allocations: 1.627 MB / 1.2 GB, free: 8.84 MB / 1.042 GB Notification: Performance of pre-optimization done (n=154): time 2.424e-06/0.6264, allocations: 0 / 1.2 GB, free: 8.84 MB / 1.042 GB Notification: Performance of matching and sorting (n=154): time 0.003591/0.63, allocations: 2.636 MB / 1.202 GB, free: 7.613 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.6301, allocations: 214 kB / 1.203 GB, free: 7.379 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.6328, allocations: 4.074 MB / 1.207 GB, free: 5.648 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.395e-05/0.6329, allocations: 62.95 kB / 1.207 GB, free: 5.594 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.6334, allocations: 0.9015 MB / 1.207 GB, free: 4.805 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.6336, allocations: 0.5124 MB / 1.208 GB, free: 4.348 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.6339, allocations: 256.9 kB / 1.208 GB, free: 4.195 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.634, allocations: 355 kB / 1.209 GB, free: 3.855 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006405/0.6346, allocations: 0.596 MB / 1.209 GB, free: 3.582 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.6356, allocations: 1.264 MB / 1.21 GB, free: 2.539 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.637, allocations: 1.355 MB / 1.212 GB, free: 1.887 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.637, allocations: 2.906 kB / 1.212 GB, free: 1.887 MB / 1.042 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.002154/0.6392, allocations: 1.842 MB / 1.213 GB, free: 0.5547 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6392, allocations: 8 kB / 1.213 GB, free: 0.5469 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6392, allocations: 4.078 kB / 1.213 GB, free: 0.543 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005117/0.6397, allocations: 228 kB / 1.214 GB, free: 312 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/0.6405, allocations: 331.6 kB / 1.214 GB, free: 15.98 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/0.644, allocations: 6.779 MB / 1.221 GB, free: 8.625 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007738/0.6448, allocations: 175.1 kB / 1.221 GB, free: 8.453 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/0.6448, allocations: 52.09 kB / 1.221 GB, free: 8.402 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 (157): * Single equations (assignments): 152 * 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.0005766/0.6454, allocations: 0.4922 MB / 1.221 GB, free: 7.898 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.6456, allocations: 198.7 kB / 1.222 GB, free: 7.703 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.6481, allocations: 2.174 MB / 1.224 GB, free: 5.504 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.6481, allocations: 19.98 kB / 1.224 GB, free: 5.484 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6481, allocations: 0 / 1.224 GB, free: 5.484 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.6481, allocations: 7.969 kB / 1.224 GB, free: 5.477 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/0.6525, allocations: 4.036 MB / 1.228 GB, free: 1.371 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6525, allocations: 0 / 1.228 GB, free: 1.371 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006855/0.6532, allocations: 323.5 kB / 1.228 GB, free: 1.055 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004108/0.6536, allocations: 204.1 kB / 1.228 GB, free: 0.8398 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.477e-05/0.6537, allocations: 47.95 kB / 1.228 GB, free: 0.793 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/0.6569, allocations: 6.8 MB / 1.235 GB, free: 9.41 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.6569, allocations: 0 / 1.235 GB, free: 9.41 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.6592, allocations: 2.063 MB / 1.237 GB, free: 7.309 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.6598, allocations: 470 kB / 1.237 GB, free: 6.848 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.6599, allocations: 35.98 kB / 1.237 GB, free: 6.812 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/0.6605, allocations: 104.8 kB / 1.237 GB, free: 6.711 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.6607, allocations: 121.8 kB / 1.238 GB, free: 6.594 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.494e-05/0.6608, allocations: 75.94 kB / 1.238 GB, free: 6.52 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.002216/0.663, allocations: 3.128 MB / 1.241 GB, free: 3.398 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.91e-07/0.663, allocations: 0 / 1.241 GB, free: 3.398 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001491/0.6645, allocations: 0.7016 MB / 1.241 GB, free: 2.695 MB / 1.073 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.003961/0.6685, allocations: 3.323 MB / 1.245 GB, free: 15.54 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.002199/0.6707, allocations: 2.057 MB / 1.247 GB, free: 13.42 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6707, allocations: 4.891 kB / 1.247 GB, free: 13.42 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.6718, allocations: 1.375 MB / 1.248 GB, free: 11.98 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.6731, allocations: 0.5411 MB / 1.248 GB, free: 11.45 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.6923, allocations: 21.18 MB / 1.269 GB, free: 5.984 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/0.693, allocations: 0.9614 MB / 1.27 GB, free: 4.988 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.001227/0.6942, allocations: 0.5368 MB / 1.271 GB, free: 4.445 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008826/0.6951, allocations: 0.9103 MB / 1.272 GB, free: 3.535 MB / 1.104 GB Notification: Performance of SimCode: time 1.523e-06/0.6951, allocations: 0 / 1.272 GB, free: 3.535 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07552/0.7706, allocations: 52.72 MB / 1.323 GB, free: 15.42 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.146/9.917, allocations: 13.75 kB / 1.323 GB, free: 15.41 MB / 1.167 GB " [Timeout remaining time 290] (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/jenkins/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: 14.005806213244796]