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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 191.5 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.886/2.886, allocations: 496 MB / 0.7835 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00189/0.00189, allocations: 69.77 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1876/0.5007, allocations: 169.2 MB / 1.472 GB, free: 7.996 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02309/0.5237, allocations: 17.66 MB / 1.49 GB, free: 6.289 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.5252, allocations: 47.62 kB / 1.49 GB, free: 6.242 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.5268, allocations: 0.5856 MB / 1.49 GB, free: 5.652 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005127/0.5319, allocations: 1.842 MB / 1.492 GB, free: 3.805 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.5357, allocations: 1.474 MB / 1.494 GB, free: 2.344 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003893/0.5396, allocations: 2.886 MB / 1.496 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.5418, allocations: 1.59 MB / 1.498 GB, free: 13.8 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004011/0.5459, allocations: 1.504 MB / 1.499 GB, free: 12.34 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.5474, allocations: 1.136 MB / 1.501 GB, free: 11.2 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003167/0.5477, allocations: 220 kB / 1.501 GB, free: 10.98 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.5507, allocations: 1.63 MB / 1.502 GB, free: 9.352 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007276/0.5515, allocations: 0.8023 MB / 1.503 GB, free: 8.547 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.5528, allocations: 1.217 MB / 1.504 GB, free: 7.324 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00478/0.5575, allocations: 3.615 MB / 1.508 GB, free: 3.695 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5575, allocations: 0 / 1.508 GB, free: 3.695 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5575, allocations: 0 / 1.508 GB, free: 3.695 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.316e-05/0.5576, allocations: 4 kB / 1.508 GB, free: 3.691 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004864/0.5624, allocations: 2.759 MB / 1.511 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.5625, allocations: 8.031 kB / 1.511 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/0.5661, allocations: 0.5682 MB / 1.511 GB, free: 308 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.569, allocations: 1.56 MB / 1.513 GB, free: 14.7 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.5691, allocations: 131.4 kB / 1.513 GB, free: 14.57 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.5693, allocations: 168 kB / 1.513 GB, free: 14.41 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/0.5727, allocations: 1.944 MB / 1.515 GB, free: 12.41 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.5727, allocations: 0 / 1.515 GB, free: 12.41 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.5729, allocations: 76 kB / 1.515 GB, free: 12.34 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.351e-05/0.5729, allocations: 40 kB / 1.515 GB, free: 12.3 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/0.5765, allocations: 2.085 MB / 1.517 GB, free: 10.21 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009632/0.5861, allocations: 6.156 MB / 1.523 GB, free: 3.652 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.5893, allocations: 1.698 MB / 1.525 GB, free: 1.957 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.5906, allocations: 0.7138 MB / 1.525 GB, free: 1.234 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/0.591, allocations: 121.1 kB / 1.525 GB, free: 1.117 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.5928, allocations: 1.009 MB / 1.526 GB, free: 92 kB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.026e-06/0.5928, allocations: 0 / 1.526 GB, free: 92 kB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.006812/0.5996, allocations: 2.582 MB / 1.529 GB, free: 13.48 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/0.5998, allocations: 205.2 kB / 1.529 GB, free: 13.24 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002917/0.6027, allocations: 1.788 MB / 1.531 GB, free: 11.44 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.6029, allocations: 53.7 kB / 1.531 GB, free: 11.38 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007915/0.6037, allocations: 0.8364 MB / 1.532 GB, free: 10.53 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004846/0.6041, allocations: 0.4995 MB / 1.532 GB, free: 10.03 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.6046, allocations: 258.8 kB / 1.532 GB, free: 9.773 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.6047, allocations: 357.9 kB / 1.533 GB, free: 9.418 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.6059, allocations: 0.5882 MB / 1.533 GB, free: 8.828 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.6074, allocations: 0.8013 MB / 1.534 GB, free: 7.973 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/0.6098, allocations: 1.333 MB / 1.535 GB, free: 6.629 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.6098, allocations: 0 / 1.535 GB, free: 6.629 MB / 1.232 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004122/0.6139, allocations: 1.816 MB / 1.537 GB, free: 4.789 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.6139, allocations: 7.938 kB / 1.537 GB, free: 4.781 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.6139, allocations: 0 / 1.537 GB, free: 4.781 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/0.615, allocations: 220.2 kB / 1.537 GB, free: 4.551 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.6167, allocations: 331.5 kB / 1.538 GB, free: 4.227 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006707/0.6234, allocations: 6.816 MB / 1.544 GB, free: 12.83 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.6249, allocations: 159.1 kB / 1.545 GB, free: 12.68 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.625, allocations: 59.95 kB / 1.545 GB, free: 12.62 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (152): * Single equations (assignments): 147 * 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.0009497/0.6259, allocations: 491.9 kB / 1.545 GB, free: 12.13 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/0.6263, allocations: 186.8 kB / 1.545 GB, free: 11.95 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/0.6308, allocations: 2.125 MB / 1.547 GB, free: 9.793 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.6308, allocations: 12 kB / 1.547 GB, free: 9.781 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.6308, allocations: 15.92 kB / 1.547 GB, free: 9.766 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.6308, allocations: 3.984 kB / 1.547 GB, free: 9.762 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00707/0.6379, allocations: 3.933 MB / 1.551 GB, free: 5.754 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.6379, allocations: 4 kB / 1.551 GB, free: 5.75 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.6393, allocations: 319.5 kB / 1.552 GB, free: 5.438 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008755/0.6402, allocations: 204.1 kB / 1.552 GB, free: 5.223 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-05/0.6403, allocations: 39.97 kB / 1.552 GB, free: 5.184 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006336/0.6466, allocations: 6.839 MB / 1.558 GB, free: 13.76 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6466, allocations: 3.938 kB / 1.558 GB, free: 13.75 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.6509, allocations: 1.993 MB / 1.56 GB, free: 11.73 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009276/0.6518, allocations: 406.2 kB / 1.561 GB, free: 11.33 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.652, allocations: 31.95 kB / 1.561 GB, free: 11.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.6532, allocations: 102.4 kB / 1.561 GB, free: 11.2 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.6534, allocations: 121.1 kB / 1.561 GB, free: 11.08 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.6536, allocations: 79.94 kB / 1.561 GB, free: 11 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001731/0.6553, allocations: 1.277 MB / 1.562 GB, free: 9.73 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6553, allocations: 0 / 1.562 GB, free: 9.73 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0016/0.6569, allocations: 0.6859 MB / 1.563 GB, free: 9.043 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002165/0.6591, allocations: 0.7555 MB / 1.564 GB, free: 8.473 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003401/0.6625, allocations: 2.031 MB / 1.566 GB, free: 6.375 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.6625, allocations: 4.656 kB / 1.566 GB, free: 6.371 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.6645, allocations: 1.364 MB / 1.567 GB, free: 4.945 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.6665, allocations: 0.5581 MB / 1.568 GB, free: 4.414 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006091/0.6726, allocations: 3.773 MB / 1.571 GB, free: 0.6055 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.674, allocations: 1.525 MB / 1.573 GB, free: 15.05 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001575/0.6756, allocations: 0.497 MB / 1.573 GB, free: 14.54 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/0.676, allocations: 179.4 kB / 1.573 GB, free: 14.37 MB / 1.279 GB Notification: Performance of SimCode: time 6.61e-07/0.676, allocations: 0 / 1.573 GB, free: 14.37 MB / 1.279 GB Notification: Performance of Templates: time 0.6086/1.285, allocations: 33.16 MB / 1.606 GB, free: 289.7 MB / 1.295 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: 10.185628218576312]