Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001698/0.001699, allocations: 110 kB / 15.99 MB, free: 5.895 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.001672/0.001672, allocations: 194.5 kB / 16.91 MB, free: 5.742 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.53/1.53, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.7427 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 73.48 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4299, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002989/0.4329, allocations: 1.341 MB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006781/0.4336, allocations: 314.9 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.4337, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.915e-05/0.4337, allocations: 0 / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.4339, allocations: 15.92 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.4342, allocations: 59.86 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.4343, allocations: 43.78 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.4344, allocations: 3.984 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.4345, allocations: 31.86 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.4345, allocations: 7.984 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.4346, allocations: 3.938 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.4347, allocations: 87.91 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.4348, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.4348, allocations: 7.938 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.4349, allocations: 52.16 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4349, allocations: 4 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4349, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.435, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8419 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.0005206/0.4355, allocations: 359.4 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.4355, allocations: 8.031 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.4356, allocations: 8.875 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4358, allocations: 168.3 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.4358, allocations: 384 / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.4358, allocations: 8.312 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.4359, allocations: 37.81 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4359, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.436, allocations: 4 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.436, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.436, allocations: 11.98 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.4362, allocations: 161.7 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.4364, allocations: 34.52 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.4364, allocations: 16.91 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.4378, allocations: 1.187 MB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.4378, allocations: 34.5 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.4378, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000191/0.438, allocations: 57.53 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.4381, allocations: 51.41 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4382, allocations: 105.8 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.4382, allocations: 29.7 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/0.4383, allocations: 84.14 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.4384, allocations: 11.84 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.4384, allocations: 13.72 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4386, allocations: 314.8 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.4386, allocations: 11.98 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.4386, allocations: 4 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.173e-05/0.4387, allocations: 16.86 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4387, allocations: 0 / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.652e-05/0.4388, allocations: 53.56 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4388, allocations: 8 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4388, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4388, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.4389, allocations: 4 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4389, allocations: 4 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.4389, allocations: 4.234 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.4389, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8419 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.558e-05/0.439, allocations: 113.8 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.4391, allocations: 3.938 kB / 1.069 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.4392, allocations: 73.81 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4393, allocations: 3.938 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4393, allocations: 0 / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4393, allocations: 0 / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.4395, allocations: 157.7 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4395, allocations: 0 / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.4396, allocations: 15.92 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4396, allocations: 4 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.4396, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4396, allocations: 0 / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4396, allocations: 4 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.4397, allocations: 73.03 kB / 1.069 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.4398, allocations: 89.03 kB / 1.069 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.4398, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/0.4399, allocations: 0 / 1.069 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.4399, allocations: 8 kB / 1.069 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.4399, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.519e-05/0.44, allocations: 91.2 kB / 1.069 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.44, allocations: 4 kB / 1.069 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002233/0.4402, allocations: 24 kB / 1.069 GB, free: 9.078 MB / 0.8419 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.0002345/0.4404, allocations: 127.2 kB / 1.07 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.4405, allocations: 19.98 kB / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4406, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.617e-05/0.4406, allocations: 8 kB / 1.07 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.4409, allocations: 8 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.4412, allocations: 169.5 kB / 1.07 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.4416, allocations: 0.6806 MB / 1.07 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.4416, allocations: 11.44 kB / 1.07 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of SimCode: time 6.52e-07/0.4417, allocations: 0 / 1.07 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of Templates: time 0.002602/0.4443, allocations: 0.7321 MB / 1.071 GB, free: 7.27 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches