Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001899/0.001899, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.002536/0.002536, allocations: 214.2 kB / 22.25 MB, free: 5.133 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.968/2.968, allocations: 476.7 MB / 0.7706 GB, free: 4.348 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002103/0.002103, allocations: 66.36 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 170 MB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2195/0.5585, allocations: 171.9 MB / 1.452 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0259/0.5844, allocations: 17.46 MB / 1.469 GB, free: 13.21 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.5867, allocations: 35.69 kB / 1.469 GB, free: 13.18 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.5888, allocations: 0.5779 MB / 1.469 GB, free: 12.6 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006255/0.595, allocations: 1.684 MB / 1.471 GB, free: 10.91 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005191/0.6002, allocations: 1.373 MB / 1.472 GB, free: 9.547 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006314/0.6065, allocations: 2.735 MB / 1.475 GB, free: 6.801 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004539/0.6111, allocations: 1.543 MB / 1.477 GB, free: 5.203 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007342/0.6184, allocations: 1.438 MB / 1.478 GB, free: 3.805 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.6213, allocations: 1.015 MB / 1.479 GB, free: 2.785 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0009547/0.6222, allocations: 208 kB / 1.479 GB, free: 2.582 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005311/0.6275, allocations: 1.517 MB / 1.481 GB, free: 1.062 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.6288, allocations: 0.5608 MB / 1.481 GB, free: 0.5 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.6315, allocations: 1.038 MB / 1.482 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.008743/0.6403, allocations: 3.18 MB / 1.485 GB, free: 12.27 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.6403, allocations: 0 / 1.485 GB, free: 12.27 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6403, allocations: 0 / 1.485 GB, free: 12.27 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001235/0.6404, allocations: 0 / 1.485 GB, free: 12.27 MB / 1.186 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.008201/0.6486, allocations: 2.298 MB / 1.487 GB, free: 9.918 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.6487, allocations: 12.03 kB / 1.488 GB, free: 9.906 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/0.6537, allocations: 0.5724 MB / 1.488 GB, free: 9.332 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/0.6566, allocations: 1.057 MB / 1.489 GB, free: 8.242 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.6568, allocations: 127.4 kB / 1.489 GB, free: 8.117 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/0.6572, allocations: 164 kB / 1.489 GB, free: 7.957 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00504/0.6622, allocations: 1.843 MB / 1.491 GB, free: 6.062 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.6623, allocations: 3.938 kB / 1.491 GB, free: 6.059 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003134/0.6626, allocations: 72 kB / 1.491 GB, free: 5.988 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.6626, allocations: 44 kB / 1.491 GB, free: 5.945 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004331/0.667, allocations: 1.875 MB / 1.493 GB, free: 4.066 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.6786, allocations: 5.464 MB / 1.498 GB, free: 14.27 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.682, allocations: 1.378 MB / 1.5 GB, free: 12.89 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.6833, allocations: 0.5856 MB / 1.5 GB, free: 12.3 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.6845, allocations: 189.1 kB / 1.501 GB, free: 12.12 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002009/0.6865, allocations: 0.8956 MB / 1.501 GB, free: 11.2 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 3.897e-06/0.6865, allocations: 0 / 1.501 GB, free: 11.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.006945/0.6934, allocations: 2.188 MB / 1.504 GB, free: 8.992 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.6936, allocations: 205.2 kB / 1.504 GB, free: 8.75 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.6952, allocations: 0.8591 MB / 1.505 GB, free: 7.867 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002124/0.6954, allocations: 53.7 kB / 1.505 GB, free: 7.809 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007724/0.6962, allocations: 0.6539 MB / 1.505 GB, free: 7.145 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005874/0.6968, allocations: 0.4996 MB / 1.506 GB, free: 6.641 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005036/0.6973, allocations: 250.8 kB / 1.506 GB, free: 6.391 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.6975, allocations: 357.9 kB / 1.506 GB, free: 6.035 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.6987, allocations: 0.4905 MB / 1.507 GB, free: 5.543 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.7, allocations: 0.6346 MB / 1.507 GB, free: 4.879 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/0.7024, allocations: 1.122 MB / 1.509 GB, free: 3.746 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7024, allocations: 0 / 1.509 GB, free: 3.746 MB / 1.201 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00395/0.7064, allocations: 1.558 MB / 1.51 GB, free: 2.164 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.7064, allocations: 14.17 kB / 1.51 GB, free: 2.152 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.7064, allocations: 0 / 1.51 GB, free: 2.152 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.7075, allocations: 192.2 kB / 1.51 GB, free: 1.949 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.7091, allocations: 335.5 kB / 1.511 GB, free: 1.621 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007153/0.7163, allocations: 6.777 MB / 1.517 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.718, allocations: 147.1 kB / 1.517 GB, free: 10.12 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.7182, allocations: 55.97 kB / 1.517 GB, free: 10.07 MB / 1.217 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.0009581/0.7191, allocations: 382 kB / 1.518 GB, free: 9.684 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003533/0.7195, allocations: 147.1 kB / 1.518 GB, free: 9.539 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.724, allocations: 1.839 MB / 1.52 GB, free: 7.676 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.724, allocations: 19.94 kB / 1.52 GB, free: 7.656 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.7241, allocations: 4 kB / 1.52 GB, free: 7.652 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.7241, allocations: 7.969 kB / 1.52 GB, free: 7.645 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007146/0.7312, allocations: 3.42 MB / 1.523 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.7312, allocations: 0 / 1.523 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.7328, allocations: 315.5 kB / 1.523 GB, free: 3.844 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008055/0.7336, allocations: 188.1 kB / 1.524 GB, free: 3.645 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.7337, allocations: 39.97 kB / 1.524 GB, free: 3.605 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006979/0.7407, allocations: 6.815 MB / 1.53 GB, free: 12.21 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7407, allocations: 0 / 1.53 GB, free: 12.21 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004345/0.745, allocations: 1.714 MB / 1.532 GB, free: 10.47 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009294/0.7459, allocations: 334.6 kB / 1.532 GB, free: 10.14 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.7462, allocations: 28 kB / 1.532 GB, free: 10.11 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.7473, allocations: 107.9 kB / 1.532 GB, free: 10.01 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/0.7476, allocations: 113.2 kB / 1.532 GB, free: 9.895 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/0.7478, allocations: 71.94 kB / 1.533 GB, free: 9.824 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009533/0.7487, allocations: 0.5984 MB / 1.533 GB, free: 9.215 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.7487, allocations: 0 / 1.533 GB, free: 9.215 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001866/0.7506, allocations: 0.6272 MB / 1.534 GB, free: 8.586 MB / 1.232 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.002551/0.7531, allocations: 0.7316 MB / 1.534 GB, free: 8.027 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003913/0.757, allocations: 1.813 MB / 1.536 GB, free: 6.148 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.7571, allocations: 8.594 kB / 1.536 GB, free: 6.137 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.7592, allocations: 1.247 MB / 1.537 GB, free: 4.828 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.7616, allocations: 0.5222 MB / 1.538 GB, free: 4.328 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/0.7678, allocations: 2.847 MB / 1.541 GB, free: 1.453 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.769, allocations: 1.296 MB / 1.542 GB, free: 132 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001982/0.771, allocations: 438.4 kB / 1.542 GB, free: 15.7 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.7715, allocations: 159.3 kB / 1.543 GB, free: 15.54 MB / 1.248 GB Notification: Performance of SimCode: time 2.345e-06/0.7715, allocations: 0 / 1.543 GB, free: 15.54 MB / 1.248 GB Notification: Performance of Templates: time 0.05846/0.8299, allocations: 29.18 MB / 1.571 GB, free: 2.707 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.213748494163156]