Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 110.2 kB / 16.42 MB, free: 6.488 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.002246/0.002246, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.52/1.52, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.808/2.808, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 60.12 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243/1.244, allocations: 159.1 MB / 1.221 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002681/1.247, allocations: 1.283 MB / 1.222 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000593/1.247, allocations: 306.9 kB / 1.222 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/1.248, allocations: 4 kB / 1.222 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/1.248, allocations: 3.938 kB / 1.222 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/1.248, allocations: 7.922 kB / 1.222 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/1.248, allocations: 79.67 kB / 1.223 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.953e-05/1.248, allocations: 31.91 kB / 1.223 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.18e-05/1.248, allocations: 11.98 kB / 1.223 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/1.248, allocations: 35.84 kB / 1.223 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/1.248, allocations: 15.94 kB / 1.223 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/1.248, allocations: 0 / 1.223 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/1.249, allocations: 79.91 kB / 1.223 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/1.249, allocations: 4 kB / 1.223 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/1.249, allocations: 15.88 kB / 1.223 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/1.249, allocations: 79.64 kB / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.249, allocations: 0 / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/1.249, allocations: 0 / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.982e-06/1.249, allocations: 0 / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004725/1.249, allocations: 349.3 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.249, allocations: 8.625 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/1.25, allocations: 8.844 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/1.25, allocations: 168.2 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/1.25, allocations: 4.375 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/1.25, allocations: 4.375 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/1.25, allocations: 45.56 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/1.25, allocations: 0 / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.25, allocations: 0 / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.25, allocations: 4 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/1.25, allocations: 11.92 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000212/1.25, allocations: 161.7 kB / 1.224 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.782e-05/1.25, allocations: 34.64 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/1.25, allocations: 20.84 kB / 1.224 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/1.251, allocations: 1.183 MB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/1.252, allocations: 38.5 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/1.252, allocations: 0 / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000194/1.252, allocations: 49.69 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/1.252, allocations: 51.41 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/1.252, allocations: 113.8 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/1.252, allocations: 25.7 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/1.252, allocations: 80.14 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/1.252, allocations: 7.906 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/1.252, allocations: 25.56 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.252, allocations: 314.8 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/1.252, allocations: 7.984 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/1.252, allocations: 4 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/1.252, allocations: 20.8 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.252, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.805e-05/1.252, allocations: 49.91 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.252, allocations: 4 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.252, allocations: 48 / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.252, allocations: 7.984 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/1.253, allocations: 8 kB / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/1.253, allocations: 0 / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/1.253, allocations: 0 / 1.226 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/1.253, allocations: 0 / 1.226 GB, free: 13.02 MB / 0.9512 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 (3): * Single equations (assignments): 3 * 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 9.276e-05/1.253, allocations: 117.8 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/1.253, allocations: 3.938 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/1.253, allocations: 65.5 kB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/1.253, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.253, allocations: 0 / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/1.253, allocations: 89.03 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/1.253, allocations: 0 / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/1.253, allocations: 4 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/1.253, allocations: 4 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001063/1.253, allocations: 124.8 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001557/1.253, allocations: 218.8 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.718e-05/1.253, allocations: 11.98 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.931e-05/1.253, allocations: 79.28 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of Backend: time 3.4e-07/1.253, allocations: 0 / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004553/1.254, allocations: 122.3 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005256/1.254, allocations: 0.5802 MB / 1.227 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of Templates: time 0.003517/1.258, allocations: 0.8744 MB / 1.228 GB, free: 10.62 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches