Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001845/0.001845, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002297/0.002297, allocations: 162.8 kB / 22.46 MB, free: 5.359 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.513/1.513, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.966/2.966, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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: 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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.949e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1968/0.1968, allocations: 148.3 MB / 1.126 GB, free: 7.09 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.6345/0.8313, allocations: 16.15 MB / 1.142 GB, free: 45.44 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.8328, allocations: 46.41 kB / 1.142 GB, free: 45.44 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.8342, allocations: 0.5632 MB / 1.143 GB, free: 45.44 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004802/0.839, allocations: 1.889 MB / 1.144 GB, free: 45.4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.8423, allocations: 1.49 MB / 1.146 GB, free: 45.37 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00333/0.8456, allocations: 2.972 MB / 1.149 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.8475, allocations: 1.597 MB / 1.15 GB, free: 45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/0.8519, allocations: 2.006 MB / 1.152 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.8531, allocations: 0.9335 MB / 1.153 GB, free: 44.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003216/0.8534, allocations: 228.5 kB / 1.153 GB, free: 44.76 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.8565, allocations: 1.476 MB / 1.155 GB, free: 44.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006179/0.8571, allocations: 0.8409 MB / 1.156 GB, free: 44.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009346/0.8581, allocations: 0.842 MB / 1.157 GB, free: 44.45 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004997/0.8631, allocations: 3.838 MB / 1.16 GB, free: 44.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8631, allocations: 4.906 kB / 1.16 GB, free: 44.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.153e-06/0.8631, allocations: 0 / 1.16 GB, free: 44.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.998e-05/0.8631, allocations: 3.844 kB / 1.16 GB, free: 44.07 MB / 1.076 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.00446/0.8676, allocations: 2.785 MB / 1.163 GB, free: 42.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8676, allocations: 8.219 kB / 1.163 GB, free: 42.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/0.8722, allocations: 0.6194 MB / 1.164 GB, free: 42.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.8749, allocations: 1.588 MB / 1.165 GB, free: 42.15 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.875, allocations: 131.9 kB / 1.165 GB, free: 42.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.8752, allocations: 176.2 kB / 1.165 GB, free: 42.15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003443/0.8786, allocations: 2.72 MB / 1.168 GB, free: 41.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.8787, allocations: 3.938 kB / 1.168 GB, free: 41.03 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.8789, allocations: 75.81 kB / 1.168 GB, free: 41.03 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/0.8789, allocations: 43.62 kB / 1.168 GB, free: 41.03 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/0.8831, allocations: 2.039 MB / 1.17 GB, free: 41.01 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.8941, allocations: 4.407 MB / 1.175 GB, free: 40.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/0.8979, allocations: 1.75 MB / 1.176 GB, free: 40.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.8995, allocations: 0.7182 MB / 1.177 GB, free: 40.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004887/0.9, allocations: 117.3 kB / 1.177 GB, free: 40.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002519/0.9025, allocations: 1.625 MB / 1.179 GB, free: 39.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=154): time 4.318e-06/0.9026, allocations: 0.9062 kB / 1.179 GB, free: 39.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=154): time 0.008226/0.9108, allocations: 2.622 MB / 1.181 GB, free: 38.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.9109, allocations: 209.2 kB / 1.181 GB, free: 38.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/0.9139, allocations: 1.714 MB / 1.183 GB, free: 38.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003556/0.9143, allocations: 65.67 kB / 1.183 GB, free: 38.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008456/0.9151, allocations: 0.861 MB / 1.184 GB, free: 38.22 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005039/0.9156, allocations: 0.51 MB / 1.184 GB, free: 37.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005303/0.9162, allocations: 274.4 kB / 1.185 GB, free: 37.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9163, allocations: 358.2 kB / 1.185 GB, free: 37.55 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.9176, allocations: 0.6176 MB / 1.186 GB, free: 37.55 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.9192, allocations: 1.264 MB / 1.187 GB, free: 36.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/0.9219, allocations: 1.384 MB / 1.188 GB, free: 36.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.9219, allocations: 1.094 kB / 1.188 GB, free: 36.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004881/0.9268, allocations: 1.9 MB / 1.19 GB, free: 36.58 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.9268, allocations: 5.484 kB / 1.19 GB, free: 36.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.9268, allocations: 5.125 kB / 1.19 GB, free: 36.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.928, allocations: 216.4 kB / 1.19 GB, free: 36.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.9298, allocations: 342.4 kB / 1.191 GB, free: 36.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005172/0.9349, allocations: 6.671 MB / 1.197 GB, free: 30.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.9372, allocations: 153.2 kB / 1.197 GB, free: 30.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001923/0.9374, allocations: 57.86 kB / 1.197 GB, free: 30.5 MB / 1.076 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.001231/0.9386, allocations: 0.4949 MB / 1.198 GB, free: 30.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000475/0.9391, allocations: 185 kB / 1.198 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/0.9441, allocations: 2.163 MB / 1.2 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.9441, allocations: 19 kB / 1.2 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.9441, allocations: 3.594 kB / 1.2 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.9441, allocations: 8.016 kB / 1.2 GB, free: 29.34 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007864/0.952, allocations: 3.742 MB / 1.204 GB, free: 27.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.952, allocations: 0.75 kB / 1.204 GB, free: 27.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.9536, allocations: 326.5 kB / 1.204 GB, free: 27.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009625/0.9546, allocations: 205 kB / 1.204 GB, free: 27.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.9547, allocations: 43.14 kB / 1.204 GB, free: 27.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004822/0.9595, allocations: 6.699 MB / 1.211 GB, free: 21.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9595, allocations: 1.125 kB / 1.211 GB, free: 21.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/0.9649, allocations: 2.039 MB / 1.213 GB, free: 20.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.9663, allocations: 406.1 kB / 1.213 GB, free: 20.25 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/0.9667, allocations: 37.89 kB / 1.213 GB, free: 20.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.9681, allocations: 97.19 kB / 1.213 GB, free: 20.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003674/0.9685, allocations: 125.7 kB / 1.214 GB, free: 20.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/0.9687, allocations: 74.23 kB / 1.214 GB, free: 20.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002211/0.9709, allocations: 1.225 MB / 1.215 GB, free: 19.74 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9709, allocations: 1.031 kB / 1.215 GB, free: 19.74 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003415/0.9743, allocations: 0.7135 MB / 1.216 GB, free: 19.55 MB / 1.076 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 (157): * Single equations (assignments): 142 * 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.003316/0.9776, allocations: 0.8128 MB / 1.216 GB, free: 19.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004572/0.9822, allocations: 2.082 MB / 1.218 GB, free: 18.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.9822, allocations: 1.875 kB / 1.218 GB, free: 18.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.9846, allocations: 1.382 MB / 1.22 GB, free: 17.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.9877, allocations: 0.5118 MB / 1.22 GB, free: 17.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008093/0.9958, allocations: 3.8 MB / 1.224 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.9974, allocations: 0.9677 MB / 1.225 GB, free: 15.33 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002592/1, allocations: 499.9 kB / 1.225 GB, free: 15.21 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/1.001, allocations: 175.1 kB / 1.226 GB, free: 15.19 MB / 1.076 GB Notification: Performance of SimCode: time 1.493e-06/1.001, allocations: 3.938 kB / 1.226 GB, free: 15.18 MB / 1.076 GB Notification: Performance of Templates: time 0.05238/1.053, allocations: 31.91 MB / 1.257 GB, free: 8.961 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.046090133488178]