Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00118/0.00118, allocations: 104 kB / 16.35 MB, free: 5.824 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.001051/0.001051, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.404/2.404, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 68.53 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3132, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.7987/1.112, allocations: 192.6 MB / 1.207 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007381/1.119, allocations: 4.018 MB / 1.211 GB, free: 15.85 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/1.121, allocations: 17.28 kB / 1.211 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/1.122, allocations: 470.8 kB / 1.211 GB, free: 15.46 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003822/1.126, allocations: 1.533 MB / 1.213 GB, free: 14.28 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003635/1.129, allocations: 1.356 MB / 1.214 GB, free: 13.29 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00233/1.132, allocations: 1.643 MB / 1.216 GB, free: 12.36 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/1.133, allocations: 0.9512 MB / 1.217 GB, free: 11.71 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/1.134, allocations: 0.9168 MB / 1.218 GB, free: 11.21 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/1.135, allocations: 0.857 MB / 1.218 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/1.136, allocations: 99.16 kB / 1.218 GB, free: 10.67 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/1.138, allocations: 1.303 MB / 1.22 GB, free: 9.973 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003479/1.138, allocations: 353.5 kB / 1.22 GB, free: 9.715 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005235/1.139, allocations: 0.508 MB / 1.221 GB, free: 9.379 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/1.141, allocations: 1.636 MB / 1.222 GB, free: 8.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.141, allocations: 0 / 1.222 GB, free: 8.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/1.141, allocations: 0 / 1.222 GB, free: 8.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.141, allocations: 0 / 1.222 GB, free: 8.312 MB / 0.92 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.002925/1.144, allocations: 1.45 MB / 1.224 GB, free: 7.102 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.144, allocations: 8.031 kB / 1.224 GB, free: 7.094 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/1.146, allocations: 242.7 kB / 1.224 GB, free: 6.855 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/1.147, allocations: 0.6071 MB / 1.224 GB, free: 6.203 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/1.147, allocations: 37 kB / 1.224 GB, free: 6.168 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/1.147, allocations: 48 kB / 1.224 GB, free: 6.121 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/1.148, allocations: 0.9609 MB / 1.225 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/1.148, allocations: 15.84 kB / 1.225 GB, free: 5.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/1.148, allocations: 20 kB / 1.225 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/1.148, allocations: 27.98 kB / 1.225 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/1.15, allocations: 0.9367 MB / 1.226 GB, free: 4.09 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.005447/1.155, allocations: 4.247 MB / 1.231 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009777/1.156, allocations: 0.6055 MB / 1.231 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000784/1.157, allocations: 0.518 MB / 1.232 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/1.158, allocations: 0.8782 MB / 1.233 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.158, allocations: 39 kB / 1.233 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001446/1.16, allocations: 411.2 kB / 1.233 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=50): time 2.375e-06/1.16, allocations: 3.938 kB / 1.233 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50): time 0.01751/1.177, allocations: 3.841 MB / 1.237 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/1.177, allocations: 59.84 kB / 1.237 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/1.178, allocations: 0.7116 MB / 1.237 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.47e-05/1.179, allocations: 37.7 kB / 1.237 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/1.179, allocations: 320.6 kB / 1.238 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/1.179, allocations: 181.4 kB / 1.238 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/1.179, allocations: 146.1 kB / 1.238 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.179, allocations: 326 kB / 1.238 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/1.18, allocations: 392.9 kB / 1.239 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/1.181, allocations: 489.5 kB / 1.239 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/1.182, allocations: 0.918 MB / 1.24 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/1.182, allocations: 0 / 1.24 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01151/1.194, allocations: 2.56 MB / 1.243 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/1.194, allocations: 12.12 kB / 1.243 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.194, allocations: 0 / 1.243 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009725/1.204, allocations: 1.726 MB / 1.244 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/1.204, allocations: 95.86 kB / 1.244 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/1.217, allocations: 7.145 MB / 1.251 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008855/1.218, allocations: 16 kB / 1.251 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/1.218, allocations: 47.92 kB / 1.251 GB, free: 9.578 MB / 0.9512 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.0004407/1.219, allocations: 214.3 kB / 1.252 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/1.219, allocations: 83.05 kB / 1.252 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00509/1.224, allocations: 1.738 MB / 1.253 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.224, allocations: 15.92 kB / 1.253 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.224, allocations: 4.875 kB / 1.253 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.224, allocations: 7.938 kB / 1.253 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006076/1.23, allocations: 2.544 MB / 1.256 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.23, allocations: 0 / 1.256 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/1.23, allocations: 87.89 kB / 1.256 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003474/1.234, allocations: 0.8017 MB / 1.257 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/1.234, allocations: 16.75 kB / 1.257 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006987/1.241, allocations: 4.851 MB / 1.262 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.241, allocations: 0 / 1.262 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005417/1.246, allocations: 2.155 MB / 1.264 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006318/1.247, allocations: 228 kB / 1.264 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/1.247, allocations: 16 kB / 1.264 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006113/1.248, allocations: 23.98 kB / 1.264 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/1.248, allocations: 60.55 kB / 1.264 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/1.248, allocations: 16 kB / 1.264 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006336/1.249, allocations: 0.499 MB / 1.265 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/1.249, allocations: 3.938 kB / 1.265 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009751/1.25, allocations: 291.8 kB / 1.265 GB, free: 11.5 MB / 0.9669 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.0004916/1.25, allocations: 206.4 kB / 1.265 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00349/1.254, allocations: 1.472 MB / 1.266 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.254, allocations: 0 / 1.266 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/1.256, allocations: 0.9108 MB / 1.267 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/1.258, allocations: 467.6 kB / 1.268 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/1.26, allocations: 1.712 MB / 1.269 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/1.261, allocations: 0.9867 MB / 1.27 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005164/1.261, allocations: 162.6 kB / 1.271 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/1.262, allocations: 67.36 kB / 1.271 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of SimCode: time 8.22e-07/1.262, allocations: 3.938 kB / 1.271 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of Templates: time 0.03417/1.296, allocations: 22.61 MB / 1.293 GB, free: 15.05 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches