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.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.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.001029/0.001029, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001188/0.001188, allocations: 168.7 kB / 15.95 MB, free: 204 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.604/1.604, allocations: 223.3 MB / 240 MB, free: 5.438 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.531/2.531, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004184, allocations: 12 kB / 0.8153 GB, free: 13.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.071, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2237/1.295, allocations: 175.3 MB / 1.126 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007494/1.302, allocations: 3.782 MB / 1.129 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/1.303, allocations: 23.81 kB / 1.129 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/1.305, allocations: 313.9 kB / 1.13 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00466/1.31, allocations: 1.131 MB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004166/1.314, allocations: 0.9664 MB / 1.132 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003818/1.318, allocations: 1.982 MB / 1.134 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/1.319, allocations: 0.8384 MB / 1.134 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/1.322, allocations: 0.8487 MB / 1.135 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/1.323, allocations: 0.8294 MB / 1.136 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/1.323, allocations: 72 kB / 1.136 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002622/1.326, allocations: 0.7132 MB / 1.137 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005376/1.326, allocations: 331 kB / 1.137 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/1.327, allocations: 177.3 kB / 1.137 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/1.329, allocations: 1.072 MB / 1.138 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/1.329, allocations: 0 / 1.138 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.855e-06/1.329, allocations: 0 / 1.138 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.721e-05/1.329, allocations: 4 kB / 1.138 GB, free: 2.641 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002709/1.332, allocations: 1.188 MB / 1.14 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.332, allocations: 8.031 kB / 1.14 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/1.333, allocations: 238.8 kB / 1.14 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009825/1.334, allocations: 0.5609 MB / 1.14 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/1.334, allocations: 41 kB / 1.14 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/1.334, allocations: 51.91 kB / 1.14 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/1.336, allocations: 0.9701 MB / 1.141 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/1.336, allocations: 0 / 1.141 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/1.336, allocations: 27.98 kB / 1.141 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.345e-05/1.336, allocations: 27.98 kB / 1.141 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/1.338, allocations: 0.9445 MB / 1.142 GB, free: 14.43 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.005773/1.343, allocations: 4.184 MB / 1.146 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000942/1.344, allocations: 0.603 MB / 1.147 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007796/1.345, allocations: 0.5175 MB / 1.148 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/1.346, allocations: 0.8939 MB / 1.148 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/1.346, allocations: 43 kB / 1.148 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001633/1.348, allocations: 355.2 kB / 1.149 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=50): time 3.406e-06/1.348, allocations: 0 / 1.149 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of matching and sorting (n=50): time 0.0159/1.364, allocations: 3.681 MB / 1.152 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/1.364, allocations: 63.84 kB / 1.152 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.365, allocations: 0.7 MB / 1.153 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002065/1.366, allocations: 33.7 kB / 1.153 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/1.366, allocations: 320.6 kB / 1.153 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/1.366, allocations: 181.4 kB / 1.154 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/1.366, allocations: 8 kB / 1.154 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.366, allocations: 326 kB / 1.154 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/1.367, allocations: 396.9 kB / 1.154 GB, free: 1.688 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007342/1.368, allocations: 493.5 kB / 1.155 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/1.369, allocations: 448.7 kB / 1.155 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/1.369, allocations: 3.953 kB / 1.155 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01007/1.379, allocations: 2.486 MB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/1.379, allocations: 11.95 kB / 1.158 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/1.379, allocations: 0 / 1.158 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008418/1.387, allocations: 1.546 MB / 1.159 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/1.388, allocations: 99.8 kB / 1.159 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.4, allocations: 6.532 MB / 1.166 GB, free: 5.754 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/1.401, allocations: 31.92 kB / 1.166 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/1.401, allocations: 43.94 kB / 1.166 GB, free: 5.68 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005129/1.401, allocations: 216.7 kB / 1.166 GB, free: 5.461 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000303/1.402, allocations: 86.92 kB / 1.166 GB, free: 5.375 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005107/1.407, allocations: 1.668 MB / 1.168 GB, free: 3.695 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/1.407, allocations: 12 kB / 1.168 GB, free: 3.684 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/1.407, allocations: 4 kB / 1.168 GB, free: 3.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.407, allocations: 3.984 kB / 1.168 GB, free: 3.676 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006938/1.414, allocations: 2.474 MB / 1.17 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.414, allocations: 0 / 1.17 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005179/1.414, allocations: 95.83 kB / 1.17 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00285/1.417, allocations: 0.6534 MB / 1.171 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/1.417, allocations: 23.94 kB / 1.171 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006665/1.424, allocations: 4.408 MB / 1.175 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/1.424, allocations: 4 kB / 1.175 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/1.43, allocations: 2.089 MB / 1.177 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007244/1.43, allocations: 239.9 kB / 1.177 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/1.431, allocations: 12 kB / 1.177 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/1.432, allocations: 43.86 kB / 1.177 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/1.432, allocations: 48.44 kB / 1.178 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/1.432, allocations: 16 kB / 1.178 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000937/1.433, allocations: 0.4951 MB / 1.178 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.433, allocations: 3.938 kB / 1.178 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001647/1.435, allocations: 283.8 kB / 1.178 GB, free: 8.387 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007513/1.435, allocations: 220.7 kB / 1.178 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003585/1.439, allocations: 1.386 MB / 1.18 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.439, allocations: 8.188 kB / 1.18 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001827/1.441, allocations: 0.8794 MB / 1.181 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.443, allocations: 453.7 kB / 1.181 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/1.447, allocations: 1.975 MB / 1.183 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007808/1.448, allocations: 0.9789 MB / 1.184 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008932/1.449, allocations: 166.9 kB / 1.184 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/1.449, allocations: 71.41 kB / 1.184 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of SimCode: time 9.92e-07/1.449, allocations: 0 / 1.184 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of Templates: time 0.04613/1.495, allocations: 20.83 MB / 1.205 GB, free: 13.57 MB / 0.9669 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