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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.357/2.357, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 168.9 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.3 MB / 0.7871 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007876/0.0007876, allocations: 83.97 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.044e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2479, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.984/5.232, allocations: 1.911 GB / 3.124 GB, free: 419.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/5.232, allocations: 88.16 kB / 3.124 GB, free: 419.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.02/7.252, allocations: 0.6808 GB / 3.805 GB, free: 158.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.462e-06/7.252, allocations: 0 / 3.805 GB, free: 158.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.01e-05/7.252, allocations: 24 kB / 3.805 GB, free: 158.1 MB / 1.151 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.00242/7.255, allocations: 1.064 MB / 3.806 GB, free: 157 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/7.255, allocations: 12.03 kB / 3.806 GB, free: 157 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/7.256, allocations: 230.7 kB / 3.806 GB, free: 156.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/7.257, allocations: 0.605 MB / 3.807 GB, free: 156.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/7.257, allocations: 41.53 kB / 3.807 GB, free: 156 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/7.257, allocations: 55.91 kB / 3.807 GB, free: 156 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/7.259, allocations: 0.9895 MB / 3.808 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/7.259, allocations: 4 kB / 3.808 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/7.259, allocations: 24 kB / 3.808 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/7.259, allocations: 15.95 kB / 3.808 GB, free: 154.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/7.26, allocations: 0.933 MB / 3.809 GB, free: 153.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004073/7.264, allocations: 4.457 MB / 3.813 GB, free: 149.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/7.265, allocations: 0.5794 MB / 3.813 GB, free: 148.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/7.265, allocations: 0.502 MB / 3.814 GB, free: 148.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007579/7.266, allocations: 0.8822 MB / 3.815 GB, free: 147.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/7.266, allocations: 42.94 kB / 3.815 GB, free: 147.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002112/7.268, allocations: 0.5653 MB / 3.815 GB, free: 146.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 4.078e-06/7.268, allocations: 0 / 3.815 GB, free: 146.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.009982/7.278, allocations: 2.377 MB / 3.818 GB, free: 144.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/7.278, allocations: 55.84 kB / 3.818 GB, free: 144.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008397/7.279, allocations: 0.6172 MB / 3.818 GB, free: 143.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/7.279, allocations: 37.7 kB / 3.818 GB, free: 143.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/7.279, allocations: 316.6 kB / 3.819 GB, free: 143.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/7.279, allocations: 177.5 kB / 3.819 GB, free: 142.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/7.279, allocations: 8 kB / 3.819 GB, free: 142.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.214e-05/7.28, allocations: 326 kB / 3.819 GB, free: 142.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/7.28, allocations: 369 kB / 3.82 GB, free: 142.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/7.281, allocations: 471.3 kB / 3.82 GB, free: 141.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/7.281, allocations: 425.4 kB / 3.82 GB, free: 141.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/7.281, allocations: 0 / 3.82 GB, free: 141.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.009715/7.291, allocations: 2.416 MB / 3.823 GB, free: 138.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/7.291, allocations: 11.88 kB / 3.823 GB, free: 138.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/7.291, allocations: 11.97 kB / 3.823 GB, free: 138.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00824/7.299, allocations: 1.542 MB / 3.824 GB, free: 137.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/7.3, allocations: 95.86 kB / 3.824 GB, free: 137.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009696/7.309, allocations: 6.517 MB / 3.831 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/7.31, allocations: 35.88 kB / 3.831 GB, free: 130.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/7.311, allocations: 47.92 kB / 3.831 GB, free: 130.3 MB / 1.151 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 () * 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.0001682/7.311, allocations: 136.9 kB / 3.831 GB, free: 130.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/7.311, allocations: 79.06 kB / 3.831 GB, free: 130.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004435/7.315, allocations: 1.609 MB / 3.833 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/7.315, allocations: 11.94 kB / 3.833 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/7.315, allocations: 7.938 kB / 3.833 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/7.315, allocations: 7.922 kB / 3.833 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004897/7.32, allocations: 2.415 MB / 3.835 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/7.32, allocations: 0 / 3.835 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/7.321, allocations: 95.89 kB / 3.835 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/7.324, allocations: 0.6573 MB / 3.836 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/7.324, allocations: 16 kB / 3.836 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005177/7.329, allocations: 4.397 MB / 3.84 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/7.329, allocations: 7.984 kB / 3.84 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004475/7.333, allocations: 2.083 MB / 3.842 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005792/7.334, allocations: 235.9 kB / 3.842 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/7.334, allocations: 12 kB / 3.842 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006152/7.335, allocations: 31.89 kB / 3.842 GB, free: 118 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/7.335, allocations: 64.38 kB / 3.842 GB, free: 118 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/7.335, allocations: 20 kB / 3.842 GB, free: 118 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005647/7.336, allocations: 495.1 kB / 3.843 GB, free: 117.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/7.336, allocations: 0 / 3.843 GB, free: 117.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001725/7.337, allocations: 443.9 kB / 3.843 GB, free: 117.1 MB / 1.151 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 () * 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.002246/7.34, allocations: 1.722 MB / 3.845 GB, free: 115.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002734/7.342, allocations: 1.316 MB / 3.846 GB, free: 113.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/7.342, allocations: 4.062 kB / 3.846 GB, free: 113.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001452/7.344, allocations: 0.8441 MB / 3.847 GB, free: 113 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/7.346, allocations: 437.8 kB / 3.848 GB, free: 112.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/7.348, allocations: 1.354 MB / 3.849 GB, free: 111.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/7.349, allocations: 1.002 MB / 3.85 GB, free: 110.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007014/7.349, allocations: 154.6 kB / 3.85 GB, free: 110 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/7.35, allocations: 67.42 kB / 3.85 GB, free: 110 MB / 1.151 GB Notification: Performance of SimCode: time 1.142e-06/7.35, allocations: 0 / 3.85 GB, free: 110 MB / 1.151 GB Notification: Performance of Templates: time 0.05248/7.402, allocations: 45.12 MB / 3.894 GB, free: 64.97 MB / 1.151 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","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches