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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001485/0.001485, allocations: 112.6 kB / 16.37 MB, free: 6 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.001434/0.001434, allocations: 196 kB / 17.31 MB, free: 5.613 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.591/2.591, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 60.03 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002812/0.3292, allocations: 1.302 MB / 1.028 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006396/0.3299, allocations: 301.2 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.637e-05/0.3299, allocations: 7.938 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.33, allocations: 3.938 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.3301, allocations: 15.92 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.3304, allocations: 75.72 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.3305, allocations: 31.91 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.3306, allocations: 7.984 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.3307, allocations: 31.86 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.3307, allocations: 11.92 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3307, allocations: 0 / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.3309, allocations: 83.91 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.3309, allocations: 4 kB / 1.029 GB, free: 180 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.331, allocations: 11.94 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.3312, allocations: 75.78 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3312, allocations: 4 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3312, allocations: 0 / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3312, allocations: 0 / 1.029 GB, free: 88 kB / 0.795 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.0004515/0.3316, allocations: 351.4 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3317, allocations: 12.02 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.3317, allocations: 0.9375 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3319, allocations: 168.3 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-06/0.3319, allocations: 4.375 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3319, allocations: 4.375 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.332, allocations: 45.75 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.332, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3321, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3321, allocations: 0 / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.3321, allocations: 8 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.3323, allocations: 165.7 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.513e-05/0.3324, allocations: 34.58 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.3324, allocations: 12.86 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.3336, allocations: 1.183 MB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.3337, allocations: 38.5 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3337, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001702/0.3339, allocations: 57.77 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.3339, allocations: 51.41 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3341, allocations: 105.8 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3341, allocations: 29.7 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.3341, allocations: 84.14 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3342, allocations: 15.77 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.3342, allocations: 21.72 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3344, allocations: 310.8 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.3344, allocations: 7.938 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.3344, allocations: 4 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.3344, allocations: 20.84 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3344, allocations: 0 / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.181e-05/0.3345, allocations: 49.62 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3345, allocations: 4 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.3346, allocations: 0 / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3346, allocations: 4 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.3346, allocations: 4 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.3347, allocations: 11.88 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.3347, allocations: 3.906 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3347, allocations: 4 kB / 1.031 GB, free: 12.82 MB / 0.8106 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.378e-05/0.3348, allocations: 117.8 kB / 1.031 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.3348, allocations: 3.938 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.335, allocations: 61.58 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.335, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.335, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.335, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.3351, allocations: 157.7 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3351, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.724e-05/0.3352, allocations: 7.938 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3352, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3352, allocations: 4 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3352, allocations: 3.938 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3352, allocations: 11.98 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.712e-05/0.3353, allocations: 65.05 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.894e-05/0.3354, allocations: 89.03 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.3354, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.3354, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.3355, allocations: 11.98 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3355, allocations: 0 / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.55e-05/0.3355, allocations: 83.59 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3355, allocations: 4 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000224/0.3358, allocations: 31.98 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0002138/0.336, allocations: 131.2 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.708e-05/0.3361, allocations: 11.94 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3361, allocations: 4 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.069e-05/0.3361, allocations: 12.31 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.3363, allocations: 7.938 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.3366, allocations: 122.1 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3369, allocations: 0.6807 MB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.337, allocations: 16.23 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.337, allocations: 11.44 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of SimCode: time 1.823e-06/0.337, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of Templates: time 0.003176/0.3402, allocations: 0.7906 MB / 1.034 GB, free: 10.23 MB / 0.8106 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 -s cvode -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