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.001361/0.001361, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001281/0.001282, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.411/1.411, 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.514/2.514, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 60.14 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.031, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003284/1.035, allocations: 1.292 MB / 1.169 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007371/1.036, allocations: 313.3 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/1.036, allocations: 0 / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/1.036, allocations: 0 / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/1.036, allocations: 11.92 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/1.036, allocations: 71.72 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/1.036, allocations: 35.86 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/1.036, allocations: 11.97 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/1.037, allocations: 27.92 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.235e-05/1.037, allocations: 15.92 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/1.037, allocations: 0 / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/1.037, allocations: 87.91 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/1.037, allocations: 4 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/1.037, allocations: 15.88 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/1.037, allocations: 75.64 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.037, allocations: 0 / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.887e-06/1.037, allocations: 0 / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.022e-06/1.037, allocations: 3.938 kB / 1.169 GB, free: 1.941 MB / 0.8887 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.0005074/1.038, allocations: 353.2 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.038, allocations: 8.922 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/1.038, allocations: 8.844 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/1.038, allocations: 168.3 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/1.038, allocations: 4.375 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/1.038, allocations: 384 / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/1.038, allocations: 41.62 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/1.038, allocations: 4 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/1.038, allocations: 0 / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.038, allocations: 0 / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.665e-05/1.038, allocations: 11.98 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002196/1.039, allocations: 161.7 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/1.039, allocations: 38.52 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/1.039, allocations: 8.922 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/1.04, allocations: 1.183 MB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/1.04, allocations: 42.56 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/1.04, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0001894/1.04, allocations: 53.53 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/1.04, allocations: 59.41 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/1.04, allocations: 105.8 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/1.04, allocations: 25.7 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/1.041, allocations: 80.14 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/1.041, allocations: 11.83 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/1.041, allocations: 25.72 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.041, allocations: 310.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/1.041, allocations: 4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/1.041, allocations: 7.984 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.482e-05/1.041, allocations: 17.12 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.041, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.159e-05/1.041, allocations: 57.47 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.041, allocations: 8 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.041, allocations: 4 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/1.041, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/1.041, allocations: 4 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.041, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/1.041, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/1.041, allocations: 4 kB / 1.172 GB, free: 14.68 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 0.0001103/1.041, allocations: 109.8 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/1.041, allocations: 7.938 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/1.041, allocations: 65.83 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.042, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.042, allocations: 4 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.042, allocations: 3.938 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/1.042, allocations: 157.6 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.042, allocations: 3.938 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/1.042, allocations: 4 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/1.042, allocations: 4 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/1.042, allocations: 0 / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/1.042, allocations: 11.97 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.042, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/1.042, allocations: 73.03 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/1.042, allocations: 81.05 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/1.042, allocations: 4 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-05/1.042, allocations: 4 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/1.042, allocations: 7.922 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/1.042, allocations: 0 / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.133e-05/1.042, allocations: 91.28 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.883e-06/1.042, allocations: 0 / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002424/1.042, allocations: 31.92 kB / 1.173 GB, free: 13.92 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.0002458/1.043, allocations: 127.2 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000109/1.043, allocations: 12 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.043, allocations: 0 / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/1.043, allocations: 11.98 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/1.043, allocations: 7.938 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/1.044, allocations: 163.5 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/1.044, allocations: 0.6768 MB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/1.044, allocations: 11.44 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/1.044, allocations: 0 / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of Templates: time 0.00288/1.047, allocations: 0.7284 MB / 1.174 GB, free: 12.13 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