Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.001695/0.001695, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001609/0.001609, allocations: 165 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.837/2.837, allocations: 377.8 MB / 0.6221 GB, free: 12.62 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.395e-05, allocations: 10.22 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7732/0.7732, allocations: 155.7 MB / 1.134 GB, free: 45.37 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.7868, allocations: 10.29 MB / 1.144 GB, free: 45.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.7881, allocations: 40.44 kB / 1.144 GB, free: 45.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.7892, allocations: 431.8 kB / 1.144 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002978/0.7921, allocations: 1.161 MB / 1.145 GB, free: 45.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004176/0.7963, allocations: 1.79 MB / 1.147 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002896/0.7992, allocations: 2.455 MB / 1.149 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.8008, allocations: 1.131 MB / 1.15 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.8052, allocations: 1.86 MB / 1.152 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.8062, allocations: 0.6699 MB / 1.153 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.8064, allocations: 165 kB / 1.153 GB, free: 44.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.809, allocations: 1.294 MB / 1.154 GB, free: 44.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003805/0.8094, allocations: 484.4 kB / 1.155 GB, free: 44.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006755/0.8101, allocations: 0.5464 MB / 1.155 GB, free: 44.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.8144, allocations: 2.798 MB / 1.158 GB, free: 44.37 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8145, allocations: 0.7188 kB / 1.158 GB, free: 44.37 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8145, allocations: 0 / 1.158 GB, free: 44.37 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.17e-05/0.8145, allocations: 1.062 kB / 1.158 GB, free: 44.37 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.003456/0.8179, allocations: 1.899 MB / 1.16 GB, free: 43.43 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.818, allocations: 11.41 kB / 1.16 GB, free: 43.43 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/0.8209, allocations: 404.4 kB / 1.16 GB, free: 43.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.8226, allocations: 0.933 MB / 1.161 GB, free: 43.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/0.8227, allocations: 94.11 kB / 1.161 GB, free: 43.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/0.8229, allocations: 121.9 kB / 1.161 GB, free: 43.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.8251, allocations: 1.707 MB / 1.163 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.8251, allocations: 0.8438 kB / 1.163 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.8252, allocations: 55.5 kB / 1.163 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.8253, allocations: 29.97 kB / 1.163 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.8276, allocations: 1.411 MB / 1.165 GB, free: 42.36 MB / 1.076 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.005432/0.833, allocations: 3.006 MB / 1.167 GB, free: 41.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.835, allocations: 1.121 MB / 1.169 GB, free: 41.55 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007093/0.8357, allocations: 435.6 kB / 1.169 GB, free: 41.54 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005981/0.8363, allocations: 115 kB / 1.169 GB, free: 41.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.8374, allocations: 0.8957 MB / 1.17 GB, free: 41.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=114): time 3.246e-06/0.8374, allocations: 1.625 kB / 1.17 GB, free: 41.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=114): time 0.004629/0.8421, allocations: 1.568 MB / 1.171 GB, free: 41.05 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.8421, allocations: 205.5 kB / 1.172 GB, free: 40.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.8433, allocations: 0.7618 MB / 1.172 GB, free: 40.69 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.8434, allocations: 53.14 kB / 1.172 GB, free: 40.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/0.8438, allocations: 0.5346 MB / 1.173 GB, free: 40.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.8441, allocations: 389 kB / 1.173 GB, free: 40.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/0.8445, allocations: 228.7 kB / 1.174 GB, free: 40.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.8445, allocations: 353.3 kB / 1.174 GB, free: 39.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.8454, allocations: 405.2 kB / 1.174 GB, free: 39.83 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/0.8464, allocations: 0.7153 MB / 1.175 GB, free: 39.54 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.8482, allocations: 0.9154 MB / 1.176 GB, free: 39.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8482, allocations: 1.188 kB / 1.176 GB, free: 39.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003001/0.8512, allocations: 1.234 MB / 1.177 GB, free: 39.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.8512, allocations: 6.438 kB / 1.177 GB, free: 39.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8512, allocations: 5.094 kB / 1.177 GB, free: 39.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.8519, allocations: 83.73 kB / 1.177 GB, free: 39.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.8529, allocations: 243.5 kB / 1.177 GB, free: 39.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.8547, allocations: 1.507 MB / 1.179 GB, free: 38.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.8558, allocations: 119.3 kB / 1.179 GB, free: 38.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.8559, allocations: 51.53 kB / 1.179 GB, free: 38.07 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (141): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006553/0.8565, allocations: 336.2 kB / 1.179 GB, free: 37.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.8568, allocations: 130.5 kB / 1.18 GB, free: 37.88 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/0.86, allocations: 1.526 MB / 1.181 GB, free: 37.74 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.86, allocations: 12.75 kB / 1.181 GB, free: 37.74 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.86, allocations: 3.938 kB / 1.181 GB, free: 37.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.86, allocations: 7.062 kB / 1.181 GB, free: 37.73 MB / 1.076 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 postOpt removeSimpleEquations (simulation): time 0.004967/0.865, allocations: 2.532 MB / 1.183 GB, free: 37.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.865, allocations: 1.094 kB / 1.183 GB, free: 37.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009348/0.866, allocations: 203.1 kB / 1.184 GB, free: 37.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.8664, allocations: 79.41 kB / 1.184 GB, free: 37.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.33e-05/0.8665, allocations: 35.5 kB / 1.184 GB, free: 37.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.8682, allocations: 1.54 MB / 1.185 GB, free: 36.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.8682, allocations: 6.188 kB / 1.185 GB, free: 36.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.8719, allocations: 1.902 MB / 1.187 GB, free: 35.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006185/0.8725, allocations: 262.6 kB / 1.187 GB, free: 35.7 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.8727, allocations: 34.23 kB / 1.187 GB, free: 35.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009062/0.8736, allocations: 77.72 kB / 1.188 GB, free: 35.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.8739, allocations: 102 kB / 1.188 GB, free: 35.69 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.874, allocations: 49.86 kB / 1.188 GB, free: 35.69 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008539/0.8748, allocations: 0.5283 MB / 1.188 GB, free: 35.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8748, allocations: 0 / 1.188 GB, free: 35.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001428/0.8763, allocations: 493.2 kB / 1.189 GB, free: 35.51 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (122): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002466/0.8787, allocations: 0.7585 MB / 1.189 GB, free: 35.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00283/0.8816, allocations: 1.104 MB / 1.19 GB, free: 35.06 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.8816, allocations: 5 kB / 1.19 GB, free: 35.06 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.8829, allocations: 0.6356 MB / 1.191 GB, free: 34.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.8853, allocations: 443.3 kB / 1.192 GB, free: 34.67 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.8903, allocations: 2.376 MB / 1.194 GB, free: 33.46 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008746/0.8912, allocations: 0.5814 MB / 1.194 GB, free: 33.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001717/0.8929, allocations: 359.4 kB / 1.195 GB, free: 33.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004231/0.8933, allocations: 137.3 kB / 1.195 GB, free: 33.25 MB / 1.076 GB Notification: Performance of SimCode: time 1.042e-06/0.8933, allocations: 0 / 1.195 GB, free: 33.25 MB / 1.076 GB Notification: Performance of Templates: time 0.04438/0.9377, allocations: 22.49 MB / 1.217 GB, free: 30.65 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.388867385685444]