Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001092/0.001092, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.143/2.143, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7438/0.7455, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001891/0.7474, allocations: 1.258 MB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002442/0.7476, allocations: 126.8 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.7477, allocations: 0 / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.7477, allocations: 0.6094 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-05/0.7478, allocations: 5.641 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.748, allocations: 40.34 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.903e-05/0.748, allocations: 20.48 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.7481, allocations: 2.047 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.705e-05/0.7481, allocations: 3.875 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.7482, allocations: 8.859 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.7482, allocations: 1.312 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.7483, allocations: 50.69 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.7483, allocations: 5.859 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.7484, allocations: 2.578 kB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.7485, allocations: 37.75 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.7485, allocations: 1.062 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7485, allocations: 4 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.7485, allocations: 0 / 1.09 GB, free: 4.504 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002699/0.7488, allocations: 333.9 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.7488, allocations: 9.781 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.7488, allocations: 0.9375 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.211e-05/0.7489, allocations: 167.5 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.7489, allocations: 1.688 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.7489, allocations: 1.469 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.235e-05/0.749, allocations: 42.56 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.749, allocations: 0 / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.749, allocations: 5.156 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.749, allocations: 0 / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.927e-05/0.7491, allocations: 4.375 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.879e-05/0.7492, allocations: 151.3 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.7492, allocations: 26.25 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.7492, allocations: 11.55 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.7498, allocations: 0.6138 MB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.7498, allocations: 31.08 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.7498, allocations: 1.281 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001164/0.7499, allocations: 40.77 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.521e-05/0.7499, allocations: 57.05 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.057e-05/0.75, allocations: 95.88 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.75, allocations: 29.83 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.169e-05/0.75, allocations: 85.27 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.75, allocations: 9.516 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.7501, allocations: 16.61 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.161e-05/0.7501, allocations: 316.7 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.7501, allocations: 2.719 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.7501, allocations: 2.891 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.7502, allocations: 19.19 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7502, allocations: 0 / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.168e-05/0.7502, allocations: 47.77 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.7502, allocations: 5.656 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.7502, allocations: 0 / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.7503, allocations: 2.172 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.231e-05/0.7503, allocations: 2.375 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.7503, allocations: 4.781 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.7503, allocations: 0.6562 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.7504, allocations: 1.469 kB / 1.092 GB, free: 2.234 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.7504, allocations: 111.3 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.7504, allocations: 5.609 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/0.7505, allocations: 47.08 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7505, allocations: 0 / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7505, allocations: 0.5156 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.7505, allocations: 78.58 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.7505, allocations: 5.484 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.807e-05/0.7506, allocations: 0.875 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.7506, allocations: 9.438 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.379e-05/0.7506, allocations: 114.4 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.756e-05/0.7507, allocations: 216.2 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.652e-05/0.7507, allocations: 7.141 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.624e-05/0.7508, allocations: 82.91 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of Backend: time 2.11e-07/0.7508, allocations: 8 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.7511, allocations: 102.4 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003511/0.7515, allocations: 0.5535 MB / 1.093 GB, free: 16.9 MB / 0.8731 GB Notification: Performance of Templates: time 0.00261/0.7541, allocations: 0.6462 MB / 1.094 GB, free: 16.83 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches