Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001028/0.001028, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008151/0.008151, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.347/1.347, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.316/2.316, allocations: 390.9 MB / 0.6663 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6562, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001385/0.6577, allocations: 1.028 MB / 0.956 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000576/0.6583, allocations: 312.2 kB / 0.9563 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.6583, allocations: 1.094 kB / 0.9563 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.6583, allocations: 0 / 0.9563 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.6585, allocations: 9.016 kB / 0.9563 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.6587, allocations: 56.94 kB / 0.9564 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.066e-05/0.6588, allocations: 37.31 kB / 0.9564 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.6589, allocations: 1.25 kB / 0.9564 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.659, allocations: 33.47 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.659, allocations: 12.5 kB / 0.9565 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.659, allocations: 1.156 kB / 0.9565 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.6592, allocations: 79.41 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.6592, allocations: 1.312 kB / 0.9566 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.6593, allocations: 45.78 kB / 0.9566 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.6595, allocations: 72.41 kB / 0.9567 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6595, allocations: 0 / 0.9567 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6595, allocations: 0 / 0.9567 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.6595, allocations: 0 / 0.9567 GB, free: 6.418 MB / 0.7169 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.0003466/0.6598, allocations: 348.2 kB / 0.957 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6599, allocations: 8.656 kB / 0.957 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.6599, allocations: 7.562 kB / 0.957 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.313e-05/0.66, allocations: 171 kB / 0.9572 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.66, allocations: 384 / 0.9572 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.6601, allocations: 1.656 kB / 0.9572 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.6602, allocations: 43.22 kB / 0.9572 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6602, allocations: 5.453 kB / 0.9572 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.6602, allocations: 0 / 0.9572 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6602, allocations: 4 kB / 0.9572 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.41e-05/0.6603, allocations: 15.39 kB / 0.9572 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.6604, allocations: 154.8 kB / 0.9574 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.242e-05/0.6605, allocations: 39.25 kB / 0.9574 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.6606, allocations: 8.422 kB / 0.9574 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008646/0.6614, allocations: 1.189 MB / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.6615, allocations: 38.44 kB / 0.9586 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.6615, allocations: 1 kB / 0.9586 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001754/0.6617, allocations: 52.66 kB / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.6617, allocations: 59.41 kB / 0.9587 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.6618, allocations: 110.6 kB / 0.9589 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.6618, allocations: 26.89 kB / 0.9589 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.6618, allocations: 84.12 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.6618, allocations: 6.312 kB / 0.959 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.6619, allocations: 13.72 kB / 0.959 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.77e-05/0.6619, allocations: 316.5 kB / 0.9593 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.662, allocations: 2.844 kB / 0.9593 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.662, allocations: 3.062 kB / 0.9593 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.528e-05/0.662, allocations: 21.36 kB / 0.9593 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.662, allocations: 3.938 kB / 0.9593 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.783e-05/0.6621, allocations: 49.19 kB / 0.9594 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6621, allocations: 5.812 kB / 0.9594 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6621, allocations: 3.938 kB / 0.9594 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6621, allocations: 0 / 0.9594 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/0.6622, allocations: 3.969 kB / 0.9594 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.6622, allocations: 1.781 kB / 0.9594 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.6622, allocations: 3.906 kB / 0.9594 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.6623, allocations: 9.859 kB / 0.9594 GB, free: 3.375 MB / 0.7169 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 6.147e-05/0.6623, allocations: 111.8 kB / 0.9595 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.6623, allocations: 5.781 kB / 0.9595 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.6625, allocations: 51.28 kB / 0.9595 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6625, allocations: 1.719 kB / 0.9595 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.6625, allocations: 0 / 0.9595 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6625, allocations: 4.375 kB / 0.9596 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.568e-05/0.6626, allocations: 160.1 kB / 0.9597 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6626, allocations: 3.984 kB / 0.9597 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.6626, allocations: 12.47 kB / 0.9597 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6626, allocations: 1.688 kB / 0.9597 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.6626, allocations: 4 kB / 0.9597 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6627, allocations: 1.312 kB / 0.9597 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6627, allocations: 3.984 kB / 0.9597 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.245e-05/0.6627, allocations: 75.66 kB / 0.9598 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.6628, allocations: 86.47 kB / 0.9599 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.6628, allocations: 1.469 kB / 0.9599 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.6629, allocations: 5.594 kB / 0.9599 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.6629, allocations: 5.438 kB / 0.9599 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.6629, allocations: 1.406 kB / 0.9599 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.222e-05/0.6629, allocations: 84.92 kB / 0.96 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6629, allocations: 3.938 kB / 0.96 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002252/0.6632, allocations: 29 kB / 0.96 GB, free: 2.703 MB / 0.7169 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.0001947/0.6634, allocations: 131.6 kB / 0.9601 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.901e-05/0.6635, allocations: 15.05 kB / 0.9601 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6635, allocations: 0 / 0.9601 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.909e-05/0.6635, allocations: 14.53 kB / 0.9602 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.6637, allocations: 7.75 kB / 0.9602 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.664, allocations: 141.5 kB / 0.9603 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.6641, allocations: 0.6803 MB / 0.961 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.535e-05/0.6642, allocations: 7.875 kB / 0.961 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.6642, allocations: 9.188 kB / 0.961 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.6642, allocations: 0 / 0.961 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.002948/0.6671, allocations: 0.7681 MB / 0.9617 GB, free: 1.34 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches