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.001695/0.001695, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001952/0.001952, allocations: 192.6 kB / 16.25 MB, free: 6.586 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.326/1.326, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.324/2.324, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.11 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5711/0.5724, allocations: 140.4 MB / 0.9491 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001988/0.5744, allocations: 1.35 MB / 0.9504 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004391/0.5748, allocations: 307.1 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.5749, allocations: 0 / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.5749, allocations: 0 / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.438e-05/0.575, allocations: 13.3 kB / 0.9507 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.5753, allocations: 67.3 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.223e-05/0.5753, allocations: 37.78 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.5754, allocations: 2.75 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.5755, allocations: 33.55 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.5755, allocations: 12.05 kB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.5755, allocations: 1.375 kB / 0.9509 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.5757, allocations: 82.41 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.5757, allocations: 1.375 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.5757, allocations: 17.38 kB / 0.951 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.5758, allocations: 72.06 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5758, allocations: 0 / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5759, allocations: 5.375 kB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.5759, allocations: 0 / 0.951 GB, free: 7.586 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.0002815/0.5761, allocations: 358.3 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5762, allocations: 9.625 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.5762, allocations: 2.312 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.813e-05/0.5763, allocations: 175 kB / 0.9516 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.5763, allocations: 1.75 kB / 0.9516 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.5763, allocations: 1.75 kB / 0.9516 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.377e-05/0.5764, allocations: 47.3 kB / 0.9516 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5764, allocations: 4 kB / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.5764, allocations: 0 / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5764, allocations: 1.375 kB / 0.9516 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.546e-05/0.5765, allocations: 13.42 kB / 0.9516 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.5766, allocations: 160.6 kB / 0.9518 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.928e-05/0.5767, allocations: 29.58 kB / 0.9518 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.5767, allocations: 8.984 kB / 0.9518 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/0.5775, allocations: 1.186 MB / 0.953 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.5775, allocations: 38.48 kB / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.5775, allocations: 1.25 kB / 0.953 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001302/0.5776, allocations: 52.05 kB / 0.9531 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.5777, allocations: 56.67 kB / 0.9531 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.471e-05/0.5777, allocations: 111 kB / 0.9532 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.5777, allocations: 25.7 kB / 0.9532 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.253e-05/0.5777, allocations: 80.14 kB / 0.9533 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.5778, allocations: 9.281 kB / 0.9533 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.5778, allocations: 19.22 kB / 0.9533 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.5778, allocations: 310.8 kB / 0.9536 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.5779, allocations: 10.45 kB / 0.9537 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.155e-05/0.5779, allocations: 3.844 kB / 0.9537 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.5779, allocations: 19.86 kB / 0.9537 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5779, allocations: 5.25 kB / 0.9537 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.973e-05/0.578, allocations: 48.38 kB / 0.9537 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.578, allocations: 5.094 kB / 0.9537 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.578, allocations: 1.188 kB / 0.9537 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.578, allocations: 0 / 0.9537 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.5781, allocations: 5.375 kB / 0.9537 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.5781, allocations: 0 / 0.9537 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.5781, allocations: 5.344 kB / 0.9537 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.5781, allocations: 1.031 kB / 0.9537 GB, free: 4.551 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 4.274e-05/0.5782, allocations: 115.2 kB / 0.9539 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.5782, allocations: 10.44 kB / 0.9539 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.5783, allocations: 57 kB / 0.9539 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5783, allocations: 384 / 0.9539 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5783, allocations: 4 kB / 0.9539 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5783, allocations: 5.75 kB / 0.9539 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.111e-05/0.5784, allocations: 163.3 kB / 0.9541 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5784, allocations: 3.984 kB / 0.9541 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.5784, allocations: 13.17 kB / 0.9541 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5784, allocations: 0 / 0.9541 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.5785, allocations: 5.406 kB / 0.9541 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5785, allocations: 3.984 kB / 0.9541 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5785, allocations: 0 / 0.9541 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.157e-05/0.5785, allocations: 76.12 kB / 0.9542 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.5786, allocations: 86.61 kB / 0.9543 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.5786, allocations: 9.641 kB / 0.9543 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.5786, allocations: 0 / 0.9543 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.5787, allocations: 2.844 kB / 0.9543 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.5787, allocations: 1.344 kB / 0.9543 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.592e-05/0.5787, allocations: 84.83 kB / 0.9544 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5787, allocations: 0 / 0.9544 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000221/0.5789, allocations: 28.06 kB / 0.9544 GB, free: 3.863 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.0001546/0.5791, allocations: 133.4 kB / 0.9545 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.347e-05/0.5792, allocations: 17.89 kB / 0.9545 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5792, allocations: 0 / 0.9545 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.576e-05/0.5792, allocations: 14.81 kB / 0.9545 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.5794, allocations: 3.359 kB / 0.9545 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002039/0.5796, allocations: 139.4 kB / 0.9547 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.92e-05/0.5797, allocations: 0.686 MB / 0.9554 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.147e-05/0.5797, allocations: 3.844 kB / 0.9554 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.5798, allocations: 9.688 kB / 0.9554 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.5798, allocations: 4 kB / 0.9554 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of Templates: time 0.002558/0.5823, allocations: 0.785 MB / 0.9561 GB, free: 2.488 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