Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_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_10_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.001648/0.001649, allocations: 103 kB / 16.4 MB, free: 5.973 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.00164/0.00164, allocations: 192.5 kB / 17.34 MB, free: 5.578 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.528/1.528, 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.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5763 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.83 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158/1.16, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8888 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002446/1.162, allocations: 1.296 MB / 1.169 GB, free: 2.574 MB / 0.8888 GB Notification: Performance of NFInst.instExpressions: time 0.000601/1.163, allocations: 309.4 kB / 1.169 GB, free: 2.273 MB / 0.8888 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/1.163, allocations: 0 / 1.169 GB, free: 2.273 MB / 0.8888 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/1.163, allocations: 3.938 kB / 1.169 GB, free: 2.27 MB / 0.8888 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/1.163, allocations: 11.92 kB / 1.169 GB, free: 2.258 MB / 0.8888 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/1.163, allocations: 75.72 kB / 1.169 GB, free: 2.184 MB / 0.8888 GB Notification: Performance of NFFlatten.flatten: time 8.611e-05/1.163, allocations: 35.91 kB / 1.169 GB, free: 2.148 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 5.793e-05/1.164, allocations: 7.984 kB / 1.169 GB, free: 2.141 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/1.164, allocations: 31.8 kB / 1.169 GB, free: 2.109 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/1.164, allocations: 19.92 kB / 1.169 GB, free: 2.09 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/1.164, allocations: 0 / 1.169 GB, free: 2.09 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/1.164, allocations: 83.91 kB / 1.169 GB, free: 2.008 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/1.164, allocations: 0 / 1.169 GB, free: 2.008 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/1.164, allocations: 15.88 kB / 1.169 GB, free: 1.992 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/1.164, allocations: 76.34 kB / 1.169 GB, free: 1.922 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.164, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8888 GB Notification: Performance of FrontEnd: time 3.266e-06/1.164, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.164, allocations: 0 / 1.169 GB, free: 1.922 MB / 0.8888 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.0004738/1.165, allocations: 363.2 kB / 1.17 GB, free: 1.52 MB / 0.8888 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.165, allocations: 12.92 kB / 1.17 GB, free: 1.508 MB / 0.8888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/1.165, allocations: 0.9375 kB / 1.17 GB, free: 1.508 MB / 0.8888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/1.165, allocations: 176.3 kB / 1.17 GB, free: 1.297 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.165, allocations: 384 / 1.17 GB, free: 1.297 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/1.165, allocations: 4.375 kB / 1.17 GB, free: 1.293 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/1.165, allocations: 45.56 kB / 1.17 GB, free: 1.242 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.165, allocations: 0 / 1.17 GB, free: 1.242 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.165, allocations: 0 / 1.17 GB, free: 1.242 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/1.165, allocations: 0 / 1.17 GB, free: 1.242 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.117e-05/1.165, allocations: 12 kB / 1.17 GB, free: 1.23 MB / 0.8888 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/1.165, allocations: 161.7 kB / 1.17 GB, free: 1.023 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 9.504e-05/1.165, allocations: 30.58 kB / 1.17 GB, free: 0.9844 MB / 0.8888 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/1.165, allocations: 12.86 kB / 1.17 GB, free: 0.9688 MB / 0.8888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.167, allocations: 1.187 MB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/1.167, allocations: 34.56 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.167, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0001667/1.167, allocations: 53.83 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/1.167, allocations: 55.41 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/1.167, allocations: 105.8 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/1.167, allocations: 29.7 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/1.167, allocations: 84.08 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/1.167, allocations: 11.94 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/1.167, allocations: 17.72 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.167, allocations: 310.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/1.167, allocations: 7.938 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/1.167, allocations: 7.984 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/1.167, allocations: 16.84 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.167, allocations: 4 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.029e-05/1.167, allocations: 53.58 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.167, allocations: 8 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.167, allocations: 0 / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.167, allocations: 3.938 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/1.167, allocations: 4 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.168, allocations: 0 / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/1.168, allocations: 3.938 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/1.168, allocations: 4 kB / 1.172 GB, free: 14.65 MB / 0.9044 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 7.111e-05/1.168, allocations: 113.8 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/1.168, allocations: 7.938 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/1.168, allocations: 61.52 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/1.168, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.168, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.168, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/1.168, allocations: 153.7 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.168, allocations: 3.938 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/1.168, allocations: 8 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/1.168, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/1.168, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/1.168, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.168, allocations: 7.922 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.004e-05/1.168, allocations: 73.08 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/1.168, allocations: 85.05 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/1.168, allocations: 0 / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/1.168, allocations: 8 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/1.168, allocations: 3.984 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/1.168, allocations: 4 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.369e-05/1.168, allocations: 87.53 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.168, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00021/1.169, allocations: 27.92 kB / 1.173 GB, free: 13.9 MB / 0.9044 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.0001981/1.169, allocations: 131.1 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.24e-05/1.169, allocations: 19.94 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.169, allocations: 0 / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/1.169, allocations: 11.98 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/1.169, allocations: 3.938 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/1.169, allocations: 146.4 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/1.17, allocations: 0.6807 MB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/1.17, allocations: 11.44 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/1.17, allocations: 0 / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.002175/1.172, allocations: 0.7304 MB / 1.174 GB, free: 12.11 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches