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.002518/0.002518, allocations: 81.48 kB / 19.44 MB, free: 348 kB / 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.003086/0.003086, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.578/1.578, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.378/3.378, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.285e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.237/0.2371, allocations: 164.2 MB / 1.038 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.03109/0.2682, allocations: 17.73 MB / 1.055 GB, free: 144 kB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.27, allocations: 43.62 kB / 1.055 GB, free: 100 kB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.4801/0.7502, allocations: 0.5721 MB / 1.056 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005221/0.7554, allocations: 1.863 MB / 1.057 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003182/0.7586, allocations: 1.458 MB / 1.059 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003178/0.7617, allocations: 2.963 MB / 1.062 GB, free: 47.63 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.7635, allocations: 1.556 MB / 1.063 GB, free: 47.47 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005082/0.7686, allocations: 2.126 MB / 1.065 GB, free: 47.3 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.7699, allocations: 0.9367 MB / 1.066 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003457/0.7702, allocations: 232.3 kB / 1.067 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.7732, allocations: 1.476 MB / 1.068 GB, free: 47.12 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005667/0.7737, allocations: 0.8373 MB / 1.069 GB, free: 47.02 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009375/0.7747, allocations: 0.8438 MB / 1.07 GB, free: 46.91 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004618/0.7793, allocations: 3.835 MB / 1.073 GB, free: 46.53 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7793, allocations: 0 / 1.073 GB, free: 46.53 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7793, allocations: 0.5312 kB / 1.073 GB, free: 46.53 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.616e-05/0.7793, allocations: 0.6562 kB / 1.073 GB, free: 46.53 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.004249/0.7836, allocations: 3.052 MB / 1.076 GB, free: 45.08 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.7836, allocations: 8.938 kB / 1.076 GB, free: 45.08 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004167/0.7878, allocations: 0.8656 MB / 1.077 GB, free: 44.82 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00215/0.7899, allocations: 1.382 MB / 1.079 GB, free: 44.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.79, allocations: 130.5 kB / 1.079 GB, free: 44.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.7903, allocations: 189.3 kB / 1.079 GB, free: 44.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.7931, allocations: 2.557 MB / 1.081 GB, free: 43.24 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.7931, allocations: 0 / 1.081 GB, free: 43.24 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.7933, allocations: 79.38 kB / 1.081 GB, free: 43.24 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.7933, allocations: 39.66 kB / 1.081 GB, free: 43.24 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002536/0.7958, allocations: 1.624 MB / 1.083 GB, free: 43.22 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008449/0.8043, allocations: 5.385 MB / 1.088 GB, free: 41.77 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.8069, allocations: 1.277 MB / 1.09 GB, free: 41.72 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009682/0.8079, allocations: 0.5361 MB / 1.09 GB, free: 41.7 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004675/0.8083, allocations: 130.5 kB / 1.09 GB, free: 41.7 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/0.8101, allocations: 1.491 MB / 1.092 GB, free: 40.84 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.707e-06/0.8101, allocations: 0 / 1.092 GB, free: 40.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.006933/0.8171, allocations: 2.1 MB / 1.094 GB, free: 40.61 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.8172, allocations: 214 kB / 1.094 GB, free: 40.39 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002961/0.8201, allocations: 1.564 MB / 1.095 GB, free: 40.14 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003036/0.8204, allocations: 66.7 kB / 1.096 GB, free: 40.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.8215, allocations: 0.9815 MB / 1.096 GB, free: 39.73 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005796/0.8221, allocations: 0.5516 MB / 1.097 GB, free: 39.39 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005762/0.8227, allocations: 327.7 kB / 1.097 GB, free: 39.36 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.8229, allocations: 0.5672 MB / 1.098 GB, free: 38.88 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.8239, allocations: 421.3 kB / 1.098 GB, free: 38.87 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.8255, allocations: 1.143 MB / 1.099 GB, free: 38.12 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/0.8282, allocations: 1.031 MB / 1.1 GB, free: 38.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.8282, allocations: 1.875 kB / 1.1 GB, free: 38.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00438/0.8326, allocations: 1.566 MB / 1.102 GB, free: 37.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.8326, allocations: 5.219 kB / 1.102 GB, free: 37.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.8326, allocations: 2.547 kB / 1.102 GB, free: 37.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.8343, allocations: 306.4 kB / 1.102 GB, free: 37.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/0.8359, allocations: 347.6 kB / 1.103 GB, free: 37.74 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005617/0.8416, allocations: 9.313 MB / 1.112 GB, free: 29.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.8435, allocations: 134.9 kB / 1.112 GB, free: 29.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/0.8437, allocations: 60.86 kB / 1.112 GB, free: 29.02 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (165): * Single equations (assignments): 160 * 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.001133/0.8448, allocations: 367.1 kB / 1.112 GB, free: 28.86 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006479/0.8455, allocations: 233.6 kB / 1.112 GB, free: 28.76 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004498/0.85, allocations: 1.77 MB / 1.114 GB, free: 28.55 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.85, allocations: 25.58 kB / 1.114 GB, free: 28.54 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.85, allocations: 1.531 kB / 1.114 GB, free: 28.54 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-05/0.85, allocations: 9.391 kB / 1.114 GB, free: 28.54 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.8605, allocations: 3.621 MB / 1.118 GB, free: 27.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.8605, allocations: 0 / 1.118 GB, free: 27.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.8619, allocations: 310 kB / 1.118 GB, free: 27.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.8633, allocations: 291.4 kB / 1.118 GB, free: 27.92 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.8635, allocations: 43.2 kB / 1.118 GB, free: 27.92 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007014/0.8705, allocations: 9.347 MB / 1.127 GB, free: 35.22 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8705, allocations: 2.25 kB / 1.127 GB, free: 35.22 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004685/0.8752, allocations: 1.804 MB / 1.129 GB, free: 34.8 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.8764, allocations: 389.6 kB / 1.13 GB, free: 34.69 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/0.8767, allocations: 33.19 kB / 1.13 GB, free: 34.69 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.8779, allocations: 83.44 kB / 1.13 GB, free: 34.68 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003488/0.8782, allocations: 121.6 kB / 1.13 GB, free: 34.68 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/0.8784, allocations: 73.14 kB / 1.13 GB, free: 34.68 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001676/0.8801, allocations: 0.9598 MB / 1.131 GB, free: 34.52 MB / 1.026 GB Notification: Performance of sort global known variables: time 9e-08/0.8801, allocations: 0 / 1.131 GB, free: 34.52 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002576/0.8827, allocations: 0.7185 MB / 1.132 GB, free: 34.41 MB / 1.026 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.003938/0.8866, allocations: 0.8099 MB / 1.132 GB, free: 34.18 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003986/0.8906, allocations: 2.076 MB / 1.134 GB, free: 33.28 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.8906, allocations: 6.656 kB / 1.134 GB, free: 33.28 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.893, allocations: 1.552 MB / 1.136 GB, free: 32.4 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.896, allocations: 0.563 MB / 1.136 GB, free: 32.34 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006821/0.9029, allocations: 3.506 MB / 1.14 GB, free: 30.87 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.9042, allocations: 0.936 MB / 1.141 GB, free: 30.7 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.002105/0.9063, allocations: 456.3 kB / 1.141 GB, free: 30.62 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005935/0.9069, allocations: 174.8 kB / 1.141 GB, free: 30.62 MB / 1.026 GB Notification: Performance of SimCode: time 2.074e-06/0.9069, allocations: 0.8438 kB / 1.141 GB, free: 30.62 MB / 1.026 GB Notification: Performance of Templates: time 0.05436/0.9613, allocations: 32.19 MB / 1.173 GB, free: 26.82 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] 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: 10.781885251984932]