Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.314/2.314, allocations: 393.5 MB / 408.4 MB, free: 11 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.00122/0.00122, allocations: 176 kB / 0.4902 GB, free: 2.297 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.795/1.795, allocations: 223.1 MB / 0.7992 GB, free: 15.71 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.0009981/0.0009984, allocations: 97.83 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 9.594 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 143 MB / 1.229 GB, free: 85.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.995/5.348, allocations: 1.912 GB / 3.141 GB, free: 49.23 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/5.348, allocations: 87.95 kB / 3.142 GB, free: 49.15 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.888/8.236, allocations: 0.6814 GB / 3.823 GB, free: 268.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.944e-06/8.236, allocations: 2.734 kB / 3.823 GB, free: 268.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.297e-05/8.236, allocations: 18.03 kB / 3.823 GB, free: 268.9 MB / 1.167 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.003323/8.239, allocations: 1.237 MB / 3.824 GB, free: 267.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/8.239, allocations: 8.828 kB / 3.824 GB, free: 267.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/8.241, allocations: 236.3 kB / 3.824 GB, free: 267.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/8.242, allocations: 0.6037 MB / 3.825 GB, free: 266.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/8.242, allocations: 41.31 kB / 3.825 GB, free: 266.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/8.242, allocations: 52 kB / 3.825 GB, free: 266.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/8.244, allocations: 1.022 MB / 3.826 GB, free: 265.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/8.244, allocations: 4 kB / 3.826 GB, free: 265.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.598e-05/8.244, allocations: 20 kB / 3.826 GB, free: 265.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/8.244, allocations: 19.94 kB / 3.826 GB, free: 265.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/8.245, allocations: 0.9828 MB / 3.827 GB, free: 264.7 MB / 1.167 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.004718/8.25, allocations: 4.458 MB / 3.831 GB, free: 260.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008083/8.25, allocations: 0.5977 MB / 3.832 GB, free: 259.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008357/8.251, allocations: 0.8819 MB / 3.833 GB, free: 258.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/8.251, allocations: 45.97 kB / 3.833 GB, free: 258.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002367/8.254, allocations: 0.5648 MB / 3.833 GB, free: 257.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 4.769e-06/8.254, allocations: 3.656 kB / 3.833 GB, free: 257.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.01679/8.271, allocations: 3.666 MB / 3.837 GB, free: 254.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/8.271, allocations: 58.78 kB / 3.837 GB, free: 254.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009981/8.272, allocations: 0.6249 MB / 3.838 GB, free: 253.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001886/8.272, allocations: 37.7 kB / 3.838 GB, free: 253.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/8.272, allocations: 315.2 kB / 3.838 GB, free: 253.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/8.272, allocations: 180.5 kB / 3.838 GB, free: 253 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/8.272, allocations: 12 kB / 3.838 GB, free: 253 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.696e-05/8.272, allocations: 332.3 kB / 3.838 GB, free: 252.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/8.273, allocations: 393 kB / 3.839 GB, free: 252.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/8.274, allocations: 493.8 kB / 3.839 GB, free: 251.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006244/8.274, allocations: 447 kB / 3.84 GB, free: 251.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/8.274, allocations: 0 / 3.84 GB, free: 251.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0108/8.285, allocations: 2.47 MB / 3.842 GB, free: 248.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/8.285, allocations: 4.625 kB / 3.842 GB, free: 248.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/8.285, allocations: 4 kB / 3.842 GB, free: 248.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009091/8.294, allocations: 1.542 MB / 3.844 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005931/8.295, allocations: 99.86 kB / 3.844 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/8.306, allocations: 6.693 MB / 3.85 GB, free: 240.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/8.307, allocations: 30.28 kB / 3.85 GB, free: 240.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/8.307, allocations: 51.92 kB / 3.85 GB, free: 240.3 MB / 1.167 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.0005009/8.308, allocations: 219.9 kB / 3.851 GB, free: 240 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/8.308, allocations: 82.97 kB / 3.851 GB, free: 240 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004806/8.313, allocations: 1.669 MB / 3.852 GB, free: 238.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/8.313, allocations: 8 kB / 3.852 GB, free: 238.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/8.313, allocations: 4 kB / 3.852 GB, free: 238.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/8.313, allocations: 3.984 kB / 3.852 GB, free: 238.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00576/8.319, allocations: 2.455 MB / 3.855 GB, free: 235.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/8.319, allocations: 4 kB / 3.855 GB, free: 235.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/8.319, allocations: 87.89 kB / 3.855 GB, free: 235.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003171/8.322, allocations: 0.66 MB / 3.855 GB, free: 235 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/8.322, allocations: 15.98 kB / 3.855 GB, free: 235 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005729/8.328, allocations: 4.51 MB / 3.86 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/8.328, allocations: 7.938 kB / 3.86 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005193/8.333, allocations: 2.148 MB / 3.862 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006619/8.334, allocations: 239.8 kB / 3.862 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/8.334, allocations: 12 kB / 3.862 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006272/8.335, allocations: 39.91 kB / 3.862 GB, free: 227.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/8.335, allocations: 44.5 kB / 3.862 GB, free: 227.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/8.335, allocations: 27.98 kB / 3.862 GB, free: 227.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006902/8.336, allocations: 0.4912 MB / 3.863 GB, free: 227.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.21e-07/8.336, allocations: 3.938 kB / 3.863 GB, free: 227.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002545/8.338, allocations: 451.8 kB / 3.863 GB, free: 226.7 MB / 1.167 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.004048/8.343, allocations: 1.706 MB / 3.865 GB, free: 225 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003972/8.347, allocations: 1.379 MB / 3.866 GB, free: 223.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/8.347, allocations: 256 / 3.866 GB, free: 223.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/8.348, allocations: 0.8912 MB / 3.867 GB, free: 222.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/8.351, allocations: 440.7 kB / 3.868 GB, free: 222.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/8.354, allocations: 1.967 MB / 3.869 GB, free: 220.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/8.355, allocations: 0.9984 MB / 3.87 GB, free: 219.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008442/8.356, allocations: 164.4 kB / 3.871 GB, free: 219.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/8.356, allocations: 63.42 kB / 3.871 GB, free: 219.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.924e-06/8.356, allocations: 0 / 3.871 GB, free: 219.1 MB / 1.167 GB Notification: Performance of Templates: time 0.05345/8.409, allocations: 40.69 MB / 3.91 GB, free: 178.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches