Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001571/0.001571, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001649/0.001649, allocations: 167.5 kB / 22.46 MB, free: 5.379 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.464/1.464, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.769/2.769, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/2.998e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7532/0.7532, allocations: 155.7 MB / 1.103 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.7722, allocations: 10.3 MB / 1.113 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.7739, allocations: 45.28 kB / 1.113 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.7754, allocations: 427 kB / 1.114 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.7795, allocations: 1.16 MB / 1.115 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005366/0.7849, allocations: 1.793 MB / 1.116 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004827/0.7897, allocations: 2.472 MB / 1.119 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.7924, allocations: 1.115 MB / 1.12 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005602/0.798, allocations: 1.718 MB / 1.122 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.7994, allocations: 0.6839 MB / 1.122 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003065/0.7997, allocations: 163.1 kB / 1.122 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.8032, allocations: 1.296 MB / 1.124 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000527/0.8037, allocations: 489.5 kB / 1.124 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009978/0.8047, allocations: 0.5492 MB / 1.125 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006136/0.8108, allocations: 2.796 MB / 1.127 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.8108, allocations: 2.5 kB / 1.127 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8108, allocations: 0 / 1.127 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.028e-05/0.8109, allocations: 0.9688 kB / 1.127 GB, free: 11.46 MB / 0.9981 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.004749/0.8157, allocations: 1.896 MB / 1.129 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8157, allocations: 10.78 kB / 1.129 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.8189, allocations: 409.9 kB / 1.13 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.8214, allocations: 0.9361 MB / 1.131 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.8215, allocations: 90.45 kB / 1.131 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/0.8218, allocations: 124.4 kB / 1.131 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003116/0.8249, allocations: 1.703 MB / 1.132 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.8249, allocations: 1.938 kB / 1.132 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.8251, allocations: 50.22 kB / 1.132 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.8251, allocations: 30.03 kB / 1.133 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00313/0.8282, allocations: 1.411 MB / 1.134 GB, free: 9.449 MB / 0.9981 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.007602/0.8358, allocations: 3.02 MB / 1.137 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/0.8383, allocations: 1.118 MB / 1.138 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008522/0.8391, allocations: 432.8 kB / 1.138 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006485/0.8398, allocations: 113.1 kB / 1.138 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/0.8411, allocations: 0.8972 MB / 1.139 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=114): time 3.327e-06/0.8411, allocations: 0.9688 kB / 1.139 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=114): time 0.004551/0.8456, allocations: 1.568 MB / 1.141 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.8457, allocations: 201.7 kB / 1.141 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.8469, allocations: 0.7592 MB / 1.142 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.847, allocations: 53.48 kB / 1.142 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.8475, allocations: 0.5328 MB / 1.142 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.8477, allocations: 397 kB / 1.143 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/0.8481, allocations: 226.3 kB / 1.143 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/0.8482, allocations: 349.1 kB / 1.143 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008198/0.849, allocations: 409.1 kB / 1.144 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/0.85, allocations: 0.7163 MB / 1.144 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.8517, allocations: 0.9108 MB / 1.145 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8517, allocations: 1.031 kB / 1.145 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002907/0.8546, allocations: 1.238 MB / 1.146 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.8547, allocations: 6.969 kB / 1.146 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.8547, allocations: 5.188 kB / 1.147 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006391/0.8553, allocations: 90.33 kB / 1.147 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.8564, allocations: 234.4 kB / 1.147 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.8582, allocations: 1.517 MB / 1.148 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.8593, allocations: 121.2 kB / 1.148 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.8595, allocations: 50.61 kB / 1.148 GB, free: 5.125 MB / 0.9981 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.0007241/0.8602, allocations: 338.2 kB / 1.149 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.8604, allocations: 113.5 kB / 1.149 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/0.8635, allocations: 1.538 MB / 1.15 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.8636, allocations: 12.91 kB / 1.15 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8636, allocations: 7.875 kB / 1.15 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.8636, allocations: 8.031 kB / 1.15 GB, free: 4.789 MB / 0.9981 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.004863/0.8684, allocations: 2.523 MB / 1.153 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8684, allocations: 1.844 kB / 1.153 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009334/0.8694, allocations: 207.3 kB / 1.153 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/0.8698, allocations: 74.53 kB / 1.153 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.251e-05/0.8699, allocations: 38.03 kB / 1.153 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.8715, allocations: 1.541 MB / 1.155 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.8715, allocations: 2.312 kB / 1.155 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003573/0.8751, allocations: 1.904 MB / 1.157 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.8757, allocations: 257.9 kB / 1.157 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.8759, allocations: 31.78 kB / 1.157 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008852/0.8768, allocations: 75.3 kB / 1.157 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.877, allocations: 95.77 kB / 1.157 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.8771, allocations: 48.94 kB / 1.157 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007275/0.8778, allocations: 0.5359 MB / 1.158 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8778, allocations: 0.875 kB / 1.158 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00158/0.8794, allocations: 492.5 kB / 1.158 GB, free: 2.578 MB / 0.9981 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.00237/0.8818, allocations: 0.7632 MB / 1.159 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.8842, allocations: 1.109 MB / 1.16 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.8842, allocations: 3.969 kB / 1.16 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.8855, allocations: 0.6361 MB / 1.16 GB, free: 17.75 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.8879, allocations: 445.5 kB / 1.161 GB, free: 17.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.8924, allocations: 2.373 MB / 1.163 GB, free: 16.41 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.893, allocations: 0.5852 MB / 1.164 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001438/0.8945, allocations: 355.7 kB / 1.164 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.8949, allocations: 139.4 kB / 1.164 GB, free: 16.19 MB / 1.014 GB Notification: Performance of SimCode: time 8.52e-07/0.8949, allocations: 1.25 kB / 1.164 GB, free: 16.19 MB / 1.014 GB Notification: Performance of Templates: time 0.03664/0.9315, allocations: 22.48 MB / 1.186 GB, free: 11.2 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.123893544077873]