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.001457/0.001457, allocations: 112.6 kB / 16.37 MB, free: 6 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.00151/0.00151, allocations: 196 kB / 17.31 MB, free: 5.613 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.182/2.182, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.52 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2714, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.8517/1.123, allocations: 192.6 MB / 1.139 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00702/1.13, allocations: 4.018 MB / 1.143 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/1.132, allocations: 21.44 kB / 1.143 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/1.133, allocations: 474.1 kB / 1.144 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005488/1.139, allocations: 1.531 MB / 1.145 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/1.143, allocations: 1.355 MB / 1.146 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003223/1.147, allocations: 1.634 MB / 1.148 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/1.148, allocations: 0.9573 MB / 1.149 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/1.15, allocations: 0.9175 MB / 1.15 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/1.151, allocations: 0.8567 MB / 1.151 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/1.151, allocations: 95.81 kB / 1.151 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/1.155, allocations: 1.307 MB / 1.152 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003852/1.155, allocations: 357.4 kB / 1.152 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000626/1.156, allocations: 0.5068 MB / 1.153 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002985/1.159, allocations: 1.631 MB / 1.155 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.159, allocations: 0 / 1.155 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.144e-06/1.159, allocations: 1.094 kB / 1.155 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.893e-05/1.159, allocations: 7.938 kB / 1.155 GB, free: 2.867 MB / 0.8575 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.003173/1.162, allocations: 1.441 MB / 1.156 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.162, allocations: 10.44 kB / 1.156 GB, free: 18.03 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/1.163, allocations: 236.5 kB / 1.156 GB, free: 17.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/1.165, allocations: 0.6128 MB / 1.157 GB, free: 17.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/1.165, allocations: 38.81 kB / 1.157 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/1.165, allocations: 50.02 kB / 1.157 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/1.166, allocations: 0.9575 MB / 1.158 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/1.166, allocations: 9.062 kB / 1.158 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/1.166, allocations: 25.41 kB / 1.158 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/1.166, allocations: 27.66 kB / 1.158 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/1.168, allocations: 0.9422 MB / 1.159 GB, free: 16.66 MB / 0.8731 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.0054/1.173, allocations: 4.25 MB / 1.163 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009997/1.174, allocations: 0.6087 MB / 1.164 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/1.175, allocations: 0.5124 MB / 1.164 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/1.176, allocations: 0.8771 MB / 1.165 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/1.176, allocations: 40.8 kB / 1.165 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001536/1.178, allocations: 411.1 kB / 1.165 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=50): time 2.945e-06/1.178, allocations: 1.219 kB / 1.165 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=50): time 0.01653/1.194, allocations: 3.841 MB / 1.169 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/1.194, allocations: 54.72 kB / 1.169 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/1.195, allocations: 0.7134 MB / 1.17 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001933/1.196, allocations: 36.3 kB / 1.17 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/1.196, allocations: 323.7 kB / 1.17 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/1.196, allocations: 176.2 kB / 1.17 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/1.196, allocations: 148.7 kB / 1.17 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.196, allocations: 325.5 kB / 1.171 GB, free: 9.859 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000602/1.197, allocations: 394 kB / 1.171 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/1.198, allocations: 485.5 kB / 1.172 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/1.199, allocations: 0.9234 MB / 1.172 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.199, allocations: 0 / 1.172 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01056/1.21, allocations: 2.571 MB / 1.175 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/1.21, allocations: 6.062 kB / 1.175 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.21, allocations: 2.375 kB / 1.175 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009175/1.219, allocations: 1.728 MB / 1.177 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/1.22, allocations: 88.58 kB / 1.177 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/1.235, allocations: 7.148 MB / 1.184 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.236, allocations: 15.97 kB / 1.184 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/1.237, allocations: 47.73 kB / 1.184 GB, free: 1.277 MB / 0.8731 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.0004265/1.237, allocations: 221.6 kB / 1.184 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/1.237, allocations: 78.47 kB / 1.184 GB, free: 1.055 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007255/1.244, allocations: 1.734 MB / 1.186 GB, free: 60 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/1.245, allocations: 10.12 kB / 1.186 GB, free: 56 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.245, allocations: 4.312 kB / 1.186 GB, free: 56 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/1.245, allocations: 7.922 kB / 1.186 GB, free: 48 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008569/1.253, allocations: 2.539 MB / 1.188 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.253, allocations: 1.812 kB / 1.188 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/1.254, allocations: 87.55 kB / 1.188 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004419/1.258, allocations: 0.8082 MB / 1.189 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/1.258, allocations: 14 kB / 1.189 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008951/1.267, allocations: 4.851 MB / 1.194 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.267, allocations: 0 / 1.194 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006979/1.274, allocations: 2.148 MB / 1.196 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/1.275, allocations: 231.5 kB / 1.196 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/1.275, allocations: 16.25 kB / 1.196 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/1.276, allocations: 23.36 kB / 1.196 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/1.276, allocations: 60.33 kB / 1.196 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/1.277, allocations: 17.34 kB / 1.196 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008167/1.277, allocations: 0.498 MB / 1.197 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.21e-07/1.277, allocations: 0 / 1.197 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001429/1.279, allocations: 289.6 kB / 1.197 GB, free: 8.203 MB / 0.8887 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.0006208/1.279, allocations: 220.9 kB / 1.197 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004087/1.284, allocations: 1.46 MB / 1.199 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.284, allocations: 2.5 kB / 1.199 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002074/1.286, allocations: 0.9224 MB / 1.2 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.288, allocations: 465.6 kB / 1.2 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/1.291, allocations: 1.703 MB / 1.202 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/1.291, allocations: 0.9812 MB / 1.203 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005877/1.292, allocations: 169 kB / 1.203 GB, free: 4.379 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/1.292, allocations: 67.95 kB / 1.203 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of SimCode: time 5.81e-07/1.292, allocations: 0 / 1.203 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of Templates: time 0.0347/1.327, allocations: 22.61 MB / 1.225 GB, free: 3.102 MB / 0.9044 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches