Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001842, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.53/2.53, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9818/0.9834, allocations: 140.4 MB / 0.9496 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2785/1.262, allocations: 192.6 MB / 1.138 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008579/1.271, allocations: 4.029 MB / 1.142 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/1.272, allocations: 23.88 kB / 1.142 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/1.274, allocations: 473 kB / 1.142 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004822/1.279, allocations: 1.52 MB / 1.144 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004092/1.283, allocations: 1.363 MB / 1.145 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003023/1.286, allocations: 1.633 MB / 1.146 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/1.288, allocations: 0.9586 MB / 1.147 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/1.29, allocations: 0.9189 MB / 1.148 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/1.291, allocations: 0.8488 MB / 1.149 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/1.291, allocations: 96 kB / 1.149 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/1.295, allocations: 1.301 MB / 1.151 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004442/1.295, allocations: 363 kB / 1.151 GB, free: 2.996 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000708/1.296, allocations: 0.5094 MB / 1.151 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003111/1.299, allocations: 1.617 MB / 1.153 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.299, allocations: 3.984 kB / 1.153 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.134e-06/1.299, allocations: 0 / 1.153 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.29e-05/1.299, allocations: 0 / 1.153 GB, free: 0.8594 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.00331/1.302, allocations: 1.445 MB / 1.154 GB, free: 15.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.302, allocations: 8.031 kB / 1.154 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/1.304, allocations: 242.7 kB / 1.155 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009662/1.305, allocations: 0.5915 MB / 1.155 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/1.305, allocations: 37 kB / 1.155 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/1.305, allocations: 48 kB / 1.155 GB, free: 14.4 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/1.307, allocations: 0.9609 MB / 1.156 GB, free: 13.37 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.307, allocations: 11.84 kB / 1.156 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/1.307, allocations: 27.98 kB / 1.156 GB, free: 13.33 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/1.307, allocations: 23.98 kB / 1.156 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/1.309, allocations: 0.9406 MB / 1.157 GB, free: 12.37 MB / 0.92 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.006149/1.315, allocations: 4.262 MB / 1.161 GB, free: 7.926 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/1.316, allocations: 0.5977 MB / 1.162 GB, free: 7.32 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007909/1.317, allocations: 0.5175 MB / 1.162 GB, free: 6.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/1.318, allocations: 0.8783 MB / 1.163 GB, free: 5.738 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.318, allocations: 39 kB / 1.163 GB, free: 5.691 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001603/1.32, allocations: 411.2 kB / 1.164 GB, free: 5.289 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 3.617e-06/1.32, allocations: 0 / 1.164 GB, free: 5.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.0181/1.338, allocations: 3.845 MB / 1.167 GB, free: 1.391 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/1.338, allocations: 59.78 kB / 1.168 GB, free: 1.32 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/1.339, allocations: 0.7117 MB / 1.168 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002174/1.339, allocations: 33.7 kB / 1.168 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/1.339, allocations: 320.6 kB / 1.169 GB, free: 244 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/1.34, allocations: 177.4 kB / 1.169 GB, free: 64 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/1.34, allocations: 150.1 kB / 1.169 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.34, allocations: 326 kB / 1.169 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/1.341, allocations: 396.9 kB / 1.17 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/1.342, allocations: 485.5 kB / 1.17 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/1.343, allocations: 0.9258 MB / 1.171 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.343, allocations: 0 / 1.171 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01148/1.355, allocations: 2.56 MB / 1.173 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/1.355, allocations: 4 kB / 1.173 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.355, allocations: 4.125 kB / 1.173 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009631/1.364, allocations: 1.738 MB / 1.175 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/1.365, allocations: 95.81 kB / 1.175 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/1.378, allocations: 7.151 MB / 1.182 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009874/1.379, allocations: 20.05 kB / 1.182 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.416e-05/1.379, allocations: 43.94 kB / 1.182 GB, free: 1.812 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004428/1.38, allocations: 205.7 kB / 1.182 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/1.38, allocations: 87.06 kB / 1.183 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005087/1.385, allocations: 1.738 MB / 1.184 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.385, allocations: 4 kB / 1.184 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.385, allocations: 4 kB / 1.184 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.385, allocations: 3.984 kB / 1.184 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005991/1.391, allocations: 2.54 MB / 1.187 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/1.391, allocations: 7.984 kB / 1.187 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/1.391, allocations: 87.89 kB / 1.187 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00334/1.395, allocations: 0.7979 MB / 1.188 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/1.395, allocations: 16 kB / 1.188 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006869/1.402, allocations: 4.859 MB / 1.192 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.402, allocations: 7.938 kB / 1.192 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005605/1.407, allocations: 2.147 MB / 1.194 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/1.408, allocations: 228 kB / 1.195 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.408, allocations: 15.98 kB / 1.195 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/1.409, allocations: 19.98 kB / 1.195 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/1.409, allocations: 60.38 kB / 1.195 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/1.409, allocations: 20 kB / 1.195 GB, free: 4.516 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007612/1.41, allocations: 0.5029 MB / 1.195 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/1.41, allocations: 0 / 1.195 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001338/1.411, allocations: 287.7 kB / 1.196 GB, free: 3.734 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007852/1.412, allocations: 226.4 kB / 1.196 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004322/1.417, allocations: 1.515 MB / 1.197 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.417, allocations: 0 / 1.197 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/1.419, allocations: 0.9108 MB / 1.198 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/1.421, allocations: 456.7 kB / 1.199 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/1.424, allocations: 1.731 MB / 1.2 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/1.425, allocations: 0.9828 MB / 1.201 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00067/1.425, allocations: 174.6 kB / 1.201 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/1.426, allocations: 67.42 kB / 1.201 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of SimCode: time 7.11e-07/1.426, allocations: 3.938 kB / 1.201 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of Templates: time 0.03875/1.464, allocations: 22.65 MB / 1.224 GB, free: 7.191 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches