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.001461/0.001461, allocations: 106.1 kB / 15.99 MB, free: 6.348 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.001646/0.001646, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.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.289/2.289, allocations: 390.2 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 63.78 kB / 0.8127 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3486, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002635/0.3513, allocations: 1.365 MB / 0.9511 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005842/0.3519, allocations: 302.9 kB / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.3519, allocations: 0 / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.3519, allocations: 0 / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.352, allocations: 11.92 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.3524, allocations: 67.86 kB / 0.9515 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.22e-05/0.3524, allocations: 35.86 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.3525, allocations: 0 / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3526, allocations: 39.84 kB / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.3527, allocations: 11.92 kB / 0.9516 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3527, allocations: 0 / 0.9516 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.3529, allocations: 79.91 kB / 0.9516 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.3529, allocations: 4 kB / 0.9516 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.3529, allocations: 11.88 kB / 0.9516 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.353, allocations: 56.14 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.353, allocations: 0 / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3531, allocations: 0 / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3531, allocations: 8 kB / 0.9517 GB, free: 7.246 MB / 0.7325 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.0004494/0.3535, allocations: 347.3 kB / 0.952 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3536, allocations: 12.03 kB / 0.952 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.3536, allocations: 0.9375 kB / 0.952 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3538, allocations: 172.2 kB / 0.9522 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.3538, allocations: 4.359 kB / 0.9522 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3538, allocations: 4.375 kB / 0.9522 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.3539, allocations: 37.83 kB / 0.9523 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.3539, allocations: 4 kB / 0.9523 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.3539, allocations: 0 / 0.9523 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3539, allocations: 0 / 0.9523 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.354, allocations: 15.98 kB / 0.9523 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.3542, allocations: 153.7 kB / 0.9524 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.274e-05/0.3543, allocations: 38.55 kB / 0.9525 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.3543, allocations: 8.922 kB / 0.9525 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/0.3554, allocations: 1.187 MB / 0.9536 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3555, allocations: 34.5 kB / 0.9537 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3555, allocations: 0 / 0.9537 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0001556/0.3556, allocations: 53.67 kB / 0.9537 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3557, allocations: 59.41 kB / 0.9538 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/0.3558, allocations: 109.8 kB / 0.9539 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.3558, allocations: 33.58 kB / 0.9539 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.3558, allocations: 80.14 kB / 0.954 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.3559, allocations: 19.73 kB / 0.954 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.3559, allocations: 17.72 kB / 0.954 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.356, allocations: 314.8 kB / 0.9543 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/0.3561, allocations: 8 kB / 0.9543 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.3561, allocations: 8 kB / 0.9543 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.3561, allocations: 12.86 kB / 0.9543 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3561, allocations: 0 / 0.9543 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.973e-05/0.3562, allocations: 49.62 kB / 0.9544 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3562, allocations: 4 kB / 0.9544 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3562, allocations: 0 / 0.9544 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3562, allocations: 3.938 kB / 0.9544 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.379e-05/0.3563, allocations: 7.984 kB / 0.9544 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3563, allocations: 0 / 0.9544 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.3563, allocations: 8 kB / 0.9544 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.3563, allocations: 0 / 0.9544 GB, free: 3.988 MB / 0.7325 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.844e-05/0.3564, allocations: 109.8 kB / 0.9545 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.3564, allocations: 11.84 kB / 0.9545 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.3566, allocations: 57.59 kB / 0.9546 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3566, allocations: 0 / 0.9546 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3566, allocations: 7.984 kB / 0.9546 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3566, allocations: 0 / 0.9546 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.3567, allocations: 157.7 kB / 0.9547 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3567, allocations: 4 kB / 0.9547 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.3568, allocations: 11.88 kB / 0.9548 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.3568, allocations: 0 / 0.9548 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3568, allocations: 0 / 0.9548 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3568, allocations: 0 / 0.9548 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3568, allocations: 0 / 0.9548 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.3569, allocations: 73.12 kB / 0.9548 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.546e-05/0.357, allocations: 96.94 kB / 0.9549 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.357, allocations: 0 / 0.9549 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.3571, allocations: 0 / 0.9549 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.3571, allocations: 0 / 0.9549 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.3571, allocations: 7.938 kB / 0.9549 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.3571, allocations: 87.58 kB / 0.955 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3571, allocations: 0 / 0.955 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000202/0.3574, allocations: 24 kB / 0.955 GB, free: 3.242 MB / 0.7325 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.0002124/0.3576, allocations: 139.1 kB / 0.9552 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.497e-05/0.3577, allocations: 16.41 kB / 0.9552 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3577, allocations: 0 / 0.9552 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.669e-05/0.3577, allocations: 11.94 kB / 0.9552 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.3579, allocations: 5.375 kB / 0.9552 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.3582, allocations: 171.9 kB / 0.9554 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.3585, allocations: 0.6844 MB / 0.956 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.3586, allocations: 11.44 kB / 0.956 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.3586, allocations: 0 / 0.956 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of Templates: time 0.002336/0.3609, allocations: 0.7242 MB / 0.9567 GB, free: 1.422 MB / 0.7325 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/jenkins1/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