Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001799/0.001799, allocations: 199.3 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7018/0.703, allocations: 140.4 MB / 0.9489 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1807/0.8837, allocations: 173.8 MB / 1.119 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01575/0.8995, allocations: 12.76 MB / 1.131 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.901, allocations: 31.81 kB / 1.131 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.9023, allocations: 365.7 kB / 1.131 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.9049, allocations: 0.8688 MB / 1.132 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.909, allocations: 1.677 MB / 1.134 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00279/0.9118, allocations: 2.731 MB / 1.137 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.9137, allocations: 1.497 MB / 1.138 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004703/0.9184, allocations: 1.245 MB / 1.139 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.9195, allocations: 0.8497 MB / 1.14 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.9198, allocations: 88 kB / 1.14 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.9226, allocations: 1.462 MB / 1.142 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.923, allocations: 414.5 kB / 1.142 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008398/0.9239, allocations: 0.7731 MB / 1.143 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003406/0.9273, allocations: 2.695 MB / 1.145 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.9273, allocations: 0 / 1.145 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.62e-07/0.9273, allocations: 0 / 1.145 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.926e-05/0.9274, allocations: 4 kB / 1.145 GB, free: 8.191 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003483/0.9309, allocations: 2.009 MB / 1.147 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.9309, allocations: 8.031 kB / 1.147 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/0.9336, allocations: 401.6 kB / 1.148 GB, free: 5.719 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.9351, allocations: 0.9917 MB / 1.149 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.269e-05/0.9352, allocations: 98.72 kB / 1.149 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.9353, allocations: 136 kB / 1.149 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.9379, allocations: 1.524 MB / 1.15 GB, free: 2.852 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.9379, allocations: 0 / 1.15 GB, free: 2.852 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.938, allocations: 56 kB / 1.15 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.9381, allocations: 36 kB / 1.151 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.9407, allocations: 1.583 MB / 1.152 GB, free: 1.172 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 preOpt removeSimpleEquations (simulation): time 0.00669/0.9474, allocations: 5.07 MB / 1.157 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.9499, allocations: 1.525 MB / 1.159 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008245/0.9508, allocations: 482.4 kB / 1.159 GB, free: 9.766 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007316/0.9515, allocations: 421.3 kB / 1.159 GB, free: 9.281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001205/0.9527, allocations: 0.6879 MB / 1.16 GB, free: 8.574 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 3.006e-06/0.9527, allocations: 4 kB / 1.16 GB, free: 8.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=107): time 0.004296/0.957, allocations: 1.657 MB / 1.162 GB, free: 6.887 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/0.9571, allocations: 204.8 kB / 1.162 GB, free: 6.641 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.9583, allocations: 0.892 MB / 1.163 GB, free: 5.727 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/0.9584, allocations: 53.7 kB / 1.163 GB, free: 5.668 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004423/0.9588, allocations: 0.5935 MB / 1.163 GB, free: 5.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.9591, allocations: 358.8 kB / 1.164 GB, free: 4.711 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/0.9594, allocations: 214.8 kB / 1.164 GB, free: 4.496 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9595, allocations: 345.9 kB / 1.164 GB, free: 4.152 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/0.9603, allocations: 402.4 kB / 1.165 GB, free: 3.758 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/0.9612, allocations: 0.5629 MB / 1.165 GB, free: 3.145 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.9629, allocations: 0.9566 MB / 1.166 GB, free: 2.148 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.9629, allocations: 0 / 1.166 GB, free: 2.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00261/0.9655, allocations: 1.235 MB / 1.167 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.9655, allocations: 11.94 kB / 1.167 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.9655, allocations: 3.938 kB / 1.167 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.9661, allocations: 93.11 kB / 1.167 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.9673, allocations: 251.7 kB / 1.168 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.9693, allocations: 1.543 MB / 1.169 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.9707, allocations: 148.5 kB / 1.169 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.9708, allocations: 51.97 kB / 1.169 GB, free: 14.67 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (131): * Single equations (assignments): 130 * 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.0008799/0.9717, allocations: 347.2 kB / 1.17 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.972, allocations: 126.5 kB / 1.17 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/0.9754, allocations: 1.425 MB / 1.171 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.9754, allocations: 16.08 kB / 1.171 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.9754, allocations: 3.938 kB / 1.171 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.9754, allocations: 7.969 kB / 1.171 GB, free: 12.73 MB / 0.9356 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.004807/0.9803, allocations: 2.874 MB / 1.174 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.9803, allocations: 0 / 1.174 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009924/0.9813, allocations: 215.7 kB / 1.174 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005089/0.9818, allocations: 88.77 kB / 1.174 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/0.9819, allocations: 31.97 kB / 1.174 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/0.9837, allocations: 1.563 MB / 1.176 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9837, allocations: 3.938 kB / 1.176 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.9863, allocations: 1.316 MB / 1.177 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005217/0.9868, allocations: 355.1 kB / 1.178 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.987, allocations: 27.94 kB / 1.178 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009984/0.988, allocations: 103.8 kB / 1.178 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.9882, allocations: 80.88 kB / 1.178 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.9883, allocations: 55.95 kB / 1.178 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008053/0.9891, allocations: 0.615 MB / 1.178 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9891, allocations: 0 / 1.178 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001227/0.9903, allocations: 486.8 kB / 1.179 GB, free: 4.66 MB / 0.9356 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 (118): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001554/0.9919, allocations: 0.7167 MB / 1.18 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002235/0.9942, allocations: 1.14 MB / 1.181 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.9942, allocations: 0 / 1.181 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.9954, allocations: 0.6799 MB / 1.181 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.9974, allocations: 490.6 kB / 1.182 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/1.002, allocations: 3.055 MB / 1.185 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/1.003, allocations: 1.213 MB / 1.186 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001398/1.005, allocations: 385.8 kB / 1.186 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/1.005, allocations: 135.4 kB / 1.186 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/1.005, allocations: 4 kB / 1.186 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of Templates: time 0.03894/1.044, allocations: 23.02 MB / 1.209 GB, free: 6.238 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches