Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001304/0.001304, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001443/0.001443, allocations: 211.6 kB / 22.99 MB, free: 4.984 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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_CpLowRise,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_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,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_CpLowRise") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 64.94 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3355, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.19/0.5255, allocations: 148.2 MB / 1.472 GB, free: 12.23 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02208/0.5476, allocations: 15.94 MB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.549, allocations: 39.69 kB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.5503, allocations: 0.5311 MB / 1.488 GB, free: 11.67 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.555, allocations: 1.681 MB / 1.49 GB, free: 9.988 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.5583, allocations: 1.348 MB / 1.491 GB, free: 8.648 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003333/0.5617, allocations: 2.723 MB / 1.494 GB, free: 5.914 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.5638, allocations: 1.539 MB / 1.495 GB, free: 4.312 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004126/0.568, allocations: 1.445 MB / 1.496 GB, free: 2.91 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.5693, allocations: 1.004 MB / 1.497 GB, free: 1.902 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002987/0.5696, allocations: 208 kB / 1.498 GB, free: 1.699 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.5722, allocations: 1.318 MB / 1.499 GB, free: 388 kB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005397/0.5727, allocations: 0.5646 MB / 1.499 GB, free: 15.81 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009047/0.5737, allocations: 0.8555 MB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004074/0.5777, allocations: 3.168 MB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5777, allocations: 8 kB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5777, allocations: 4 kB / 1.503 GB, free: 11.76 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.751e-05/0.5778, allocations: 0 / 1.503 GB, free: 11.76 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004214/0.582, allocations: 2.298 MB / 1.506 GB, free: 9.414 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.582, allocations: 8.031 kB / 1.506 GB, free: 9.406 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004632/0.5866, allocations: 0.5724 MB / 1.506 GB, free: 8.832 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.5887, allocations: 1.065 MB / 1.507 GB, free: 7.738 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.5888, allocations: 131.3 kB / 1.507 GB, free: 7.609 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.5891, allocations: 168 kB / 1.508 GB, free: 7.445 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003883/0.593, allocations: 2.6 MB / 1.51 GB, free: 4.609 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.593, allocations: 0 / 1.51 GB, free: 4.609 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.5932, allocations: 76 kB / 1.51 GB, free: 4.535 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.5932, allocations: 40 kB / 1.51 GB, free: 4.496 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003427/0.5966, allocations: 1.828 MB / 1.512 GB, free: 2.664 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007671/0.6043, allocations: 3.727 MB / 1.516 GB, free: 14.87 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.6072, allocations: 1.36 MB / 1.517 GB, free: 13.51 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.6084, allocations: 0.5889 MB / 1.518 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.6095, allocations: 181.1 kB / 1.518 GB, free: 12.73 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/0.6116, allocations: 1.51 MB / 1.519 GB, free: 11.06 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.337e-06/0.6116, allocations: 0 / 1.519 GB, free: 11.06 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.00641/0.618, allocations: 2.176 MB / 1.521 GB, free: 8.859 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.6181, allocations: 201.2 kB / 1.522 GB, free: 8.621 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.6192, allocations: 0.7552 MB / 1.522 GB, free: 7.855 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.6193, allocations: 57.7 kB / 1.522 GB, free: 7.793 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006173/0.62, allocations: 0.6732 MB / 1.523 GB, free: 7.109 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/0.6204, allocations: 0.4919 MB / 1.523 GB, free: 6.613 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/0.6209, allocations: 262.8 kB / 1.524 GB, free: 6.352 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.6211, allocations: 353.9 kB / 1.524 GB, free: 6 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.6221, allocations: 494.3 kB / 1.525 GB, free: 5.516 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.6235, allocations: 0.8682 MB / 1.525 GB, free: 4.566 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.6258, allocations: 1.118 MB / 1.526 GB, free: 3.438 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6259, allocations: 0 / 1.526 GB, free: 3.438 MB / 1.217 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003841/0.6297, allocations: 1.547 MB / 1.528 GB, free: 1.867 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.6297, allocations: 9.875 kB / 1.528 GB, free: 1.859 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6297, allocations: 0 / 1.528 GB, free: 1.859 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.6307, allocations: 196.2 kB / 1.528 GB, free: 1.652 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.6324, allocations: 335.5 kB / 1.528 GB, free: 1.324 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006465/0.6389, allocations: 6.645 MB / 1.535 GB, free: 10.16 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.6403, allocations: 147.3 kB / 1.535 GB, free: 10.02 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.6405, allocations: 63.89 kB / 1.535 GB, free: 9.957 MB / 1.232 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 (156): * Single equations (assignments): 151 * 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.0008439/0.6413, allocations: 380.1 kB / 1.536 GB, free: 9.578 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/0.6416, allocations: 135.2 kB / 1.536 GB, free: 9.445 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/0.6462, allocations: 1.83 MB / 1.537 GB, free: 7.586 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.6462, allocations: 20 kB / 1.537 GB, free: 7.566 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.6462, allocations: 3.938 kB / 1.537 GB, free: 7.562 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.6462, allocations: 11.91 kB / 1.537 GB, free: 7.551 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006307/0.6525, allocations: 2.985 MB / 1.54 GB, free: 4.512 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.6525, allocations: 4 kB / 1.54 GB, free: 4.508 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.6542, allocations: 311.5 kB / 1.541 GB, free: 4.203 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008361/0.655, allocations: 184.1 kB / 1.541 GB, free: 4.008 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.6551, allocations: 39.97 kB / 1.541 GB, free: 3.969 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00658/0.6617, allocations: 6.676 MB / 1.547 GB, free: 12.77 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.6617, allocations: 3.938 kB / 1.547 GB, free: 12.77 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/0.6658, allocations: 1.705 MB / 1.549 GB, free: 11.02 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008163/0.6666, allocations: 326.5 kB / 1.549 GB, free: 10.7 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.6668, allocations: 28 kB / 1.549 GB, free: 10.68 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.668, allocations: 109.2 kB / 1.55 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/0.6683, allocations: 117.1 kB / 1.55 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.6684, allocations: 67.94 kB / 1.55 GB, free: 10.39 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000824/0.6693, allocations: 0.5263 MB / 1.55 GB, free: 9.867 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.6693, allocations: 0 / 1.55 GB, free: 9.867 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001621/0.6709, allocations: 0.6233 MB / 1.551 GB, free: 9.242 MB / 1.248 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.002459/0.6733, allocations: 0.759 MB / 1.552 GB, free: 8.691 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00345/0.6768, allocations: 1.82 MB / 1.553 GB, free: 6.809 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.6768, allocations: 4.656 kB / 1.553 GB, free: 6.805 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/0.6789, allocations: 1.239 MB / 1.555 GB, free: 5.5 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.6809, allocations: 0.4984 MB / 1.555 GB, free: 5.023 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005432/0.6863, allocations: 2.845 MB / 1.558 GB, free: 2.148 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.6871, allocations: 0.7173 MB / 1.559 GB, free: 1.398 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001485/0.6886, allocations: 429.7 kB / 1.559 GB, free: 0.9766 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/0.6891, allocations: 155.3 kB / 1.559 GB, free: 0.8281 MB / 1.248 GB Notification: Performance of SimCode: time 1.082e-06/0.6891, allocations: 0 / 1.559 GB, free: 0.8281 MB / 1.248 GB Notification: Performance of Templates: time 0.04976/0.7389, allocations: 29.97 MB / 1.588 GB, free: 3.336 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.051220109002315]