Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.9 MB / 0.666 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 8 kB / 0.8153 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.6736, allocations: 142.4 MB / 0.9544 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1759/0.8495, allocations: 159.9 MB / 1.111 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.8643, allocations: 10.07 MB / 1.12 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.8658, allocations: 27.81 kB / 1.12 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.8669, allocations: 297.8 kB / 1.121 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.8695, allocations: 0.8437 MB / 1.122 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003512/0.8731, allocations: 1.262 MB / 1.123 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002696/0.8758, allocations: 2.283 MB / 1.125 GB, free: 272 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.8773, allocations: 1.034 MB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.8794, allocations: 0.9532 MB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009051/0.8803, allocations: 0.6415 MB / 1.128 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.8805, allocations: 44 kB / 1.128 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.8828, allocations: 0.8852 MB / 1.129 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003639/0.8832, allocations: 314.8 kB / 1.129 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003683/0.8836, allocations: 277 kB / 1.129 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.886, allocations: 1.769 MB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.886, allocations: 4 kB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.886, allocations: 0 / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.584e-05/0.8861, allocations: 0 / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003059/0.8891, allocations: 1.603 MB / 1.132 GB, free: 8.66 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.8892, allocations: 8.031 kB / 1.132 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.8913, allocations: 361.9 kB / 1.133 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.893, allocations: 0.9103 MB / 1.134 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-05/0.8931, allocations: 86.33 kB / 1.134 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.8933, allocations: 116 kB / 1.134 GB, free: 7.141 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.8959, allocations: 1.29 MB / 1.135 GB, free: 5.785 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.896, allocations: 8 kB / 1.135 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.8961, allocations: 48 kB / 1.135 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.8961, allocations: 31.94 kB / 1.135 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.8985, allocations: 1.449 MB / 1.137 GB, free: 4.242 MB / 0.8887 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.006312/0.9049, allocations: 3.89 MB / 1.14 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.9071, allocations: 1.213 MB / 1.142 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007698/0.9079, allocations: 455.6 kB / 1.142 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007465/0.9086, allocations: 441.3 kB / 1.142 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.9098, allocations: 0.649 MB / 1.143 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=106): time 2.745e-06/0.9098, allocations: 0 / 1.143 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of matching and sorting (n=106): time 0.004043/0.9138, allocations: 1.617 MB / 1.145 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.914, allocations: 196.9 kB / 1.145 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.9153, allocations: 0.863 MB / 1.146 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.9154, allocations: 53.69 kB / 1.146 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.9159, allocations: 0.516 MB / 1.146 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.9162, allocations: 354.9 kB / 1.147 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.9163, allocations: 24 kB / 1.147 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.9165, allocations: 345.9 kB / 1.147 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007774/0.9172, allocations: 382.4 kB / 1.147 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008962/0.9182, allocations: 0.5085 MB / 1.148 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/0.9191, allocations: 438.9 kB / 1.148 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.9191, allocations: 0 / 1.148 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002484/0.9216, allocations: 1.172 MB / 1.149 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.9216, allocations: 4 kB / 1.149 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.9216, allocations: 4 kB / 1.149 GB, free: 6.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005572/0.9222, allocations: 92.8 kB / 1.149 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009901/0.9232, allocations: 231.7 kB / 1.15 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.9252, allocations: 1.536 MB / 1.151 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.9263, allocations: 146.9 kB / 1.151 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.9264, allocations: 47.97 kB / 1.151 GB, free: 4.562 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006332/0.9271, allocations: 323.7 kB / 1.152 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.9273, allocations: 114.6 kB / 1.152 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/0.9305, allocations: 1.528 MB / 1.153 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.9305, allocations: 12 kB / 1.153 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.9305, allocations: 4 kB / 1.153 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.9305, allocations: 7.969 kB / 1.153 GB, free: 2.555 MB / 0.9044 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.004702/0.9352, allocations: 2.834 MB / 1.156 GB, free: 15.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.9353, allocations: 3.984 kB / 1.156 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008813/0.9362, allocations: 199.8 kB / 1.156 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/0.9366, allocations: 92.86 kB / 1.156 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.197e-05/0.9367, allocations: 35.97 kB / 1.156 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.9385, allocations: 1.555 MB / 1.158 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9385, allocations: 7.984 kB / 1.158 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/0.942, allocations: 1.86 MB / 1.16 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/0.9426, allocations: 363.2 kB / 1.16 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.9428, allocations: 24 kB / 1.16 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008852/0.9437, allocations: 105.6 kB / 1.16 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.9439, allocations: 84.94 kB / 1.16 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.57e-05/0.944, allocations: 59.92 kB / 1.16 GB, free: 11.04 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008959/0.9449, allocations: 0.6144 MB / 1.161 GB, free: 10.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9449, allocations: 0 / 1.161 GB, free: 10.41 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001246/0.9462, allocations: 455 kB / 1.161 GB, free: 9.965 MB / 0.92 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: 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/0.9478, allocations: 0.7115 MB / 1.162 GB, free: 9.438 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002199/0.95, allocations: 1.093 MB / 1.163 GB, free: 8.332 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.95, allocations: 0 / 1.163 GB, free: 8.332 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.9512, allocations: 0.6529 MB / 1.164 GB, free: 7.672 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/0.9534, allocations: 485.3 kB / 1.164 GB, free: 7.207 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.9591, allocations: 3.117 MB / 1.167 GB, free: 4.035 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/0.9599, allocations: 1.158 MB / 1.168 GB, free: 2.848 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001541/0.9615, allocations: 369.7 kB / 1.169 GB, free: 2.484 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.9618, allocations: 135.4 kB / 1.169 GB, free: 2.352 MB / 0.92 GB Notification: Performance of SimCode: time 7.72e-07/0.9618, allocations: 0 / 1.169 GB, free: 2.352 MB / 0.92 GB Notification: Performance of Templates: time 0.03864/1, allocations: 21.69 MB / 1.19 GB, free: 12.95 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches