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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.009131/0.009131, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002089/0.002089, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.455/1.455, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.2 MB / 0.6649 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7048/0.7063, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002244/0.7085, allocations: 1.364 MB / 0.9509 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005453/0.7091, allocations: 305.2 kB / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.7091, allocations: 0 / 0.9512 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.7092, allocations: 3.938 kB / 0.9512 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.663e-05/0.7093, allocations: 14.72 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.7095, allocations: 56.3 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.422e-05/0.7096, allocations: 40.3 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.7096, allocations: 2.75 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.7097, allocations: 24.3 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.7098, allocations: 13.42 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.7098, allocations: 1.375 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.71, allocations: 82.41 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.71, allocations: 9.297 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.71, allocations: 12.06 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.7101, allocations: 53.42 kB / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7102, allocations: 5.75 kB / 0.9515 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7102, allocations: 0 / 0.9515 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.7102, allocations: 0 / 0.9515 GB, free: 7.73 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.0003135/0.7105, allocations: 351.7 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7105, allocations: 9.031 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.7106, allocations: 2.531 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.7106, allocations: 170.9 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.7107, allocations: 1.406 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.7107, allocations: 1.844 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.7108, allocations: 54.95 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7108, allocations: 0 / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.7108, allocations: 1.125 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.7108, allocations: 0 / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.7109, allocations: 11.02 kB / 0.9521 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.711, allocations: 155.3 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.791e-05/0.7111, allocations: 38.44 kB / 0.9523 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.7111, allocations: 16.55 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008445/0.712, allocations: 1.182 MB / 0.9534 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.712, allocations: 39.66 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.712, allocations: 7.938 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001496/0.7122, allocations: 48.34 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.7122, allocations: 52.69 kB / 0.9536 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.114e-05/0.7122, allocations: 106.2 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.998e-06/0.7123, allocations: 26.98 kB / 0.9537 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.658e-05/0.7123, allocations: 84.14 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.7123, allocations: 9.156 kB / 0.9538 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.7123, allocations: 14.22 kB / 0.9538 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.7124, allocations: 323.9 kB / 0.9541 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.7124, allocations: 3.188 kB / 0.9541 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.7124, allocations: 6.125 kB / 0.9541 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.613e-05/0.7125, allocations: 17.3 kB / 0.9541 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7125, allocations: 0 / 0.9541 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.235e-05/0.7125, allocations: 48.78 kB / 0.9542 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7126, allocations: 5.719 kB / 0.9542 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.7126, allocations: 0 / 0.9542 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7126, allocations: 1.188 kB / 0.9542 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.054e-05/0.7126, allocations: 9.078 kB / 0.9542 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.7127, allocations: 4 kB / 0.9542 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.7127, allocations: 0 / 0.9542 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.7127, allocations: 2.562 kB / 0.9542 GB, free: 4.699 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.635e-05/0.7127, allocations: 111 kB / 0.9543 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.7128, allocations: 10.47 kB / 0.9543 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.7129, allocations: 63.83 kB / 0.9544 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.7129, allocations: 5.531 kB / 0.9544 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.7129, allocations: 0 / 0.9544 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.7129, allocations: 3.984 kB / 0.9544 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.174e-05/0.713, allocations: 160.2 kB / 0.9545 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.713, allocations: 3.984 kB / 0.9546 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.909e-05/0.713, allocations: 9.219 kB / 0.9546 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.713, allocations: 3.938 kB / 0.9546 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.713, allocations: 1.062 kB / 0.9546 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7131, allocations: 1.125 kB / 0.9546 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7131, allocations: 0 / 0.9546 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.999e-05/0.7131, allocations: 79.59 kB / 0.9546 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.7132, allocations: 91.41 kB / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.7132, allocations: 1.406 kB / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.718e-05/0.7132, allocations: 0 / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.7133, allocations: 1.188 kB / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.7133, allocations: 2.594 kB / 0.9547 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.079e-05/0.7133, allocations: 89.39 kB / 0.9548 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7133, allocations: 0 / 0.9548 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002095/0.7135, allocations: 31.88 kB / 0.9549 GB, free: 4.012 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.0001805/0.7137, allocations: 132.9 kB / 0.955 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.775e-05/0.7138, allocations: 18.89 kB / 0.955 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7138, allocations: 0 / 0.955 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.485e-05/0.7138, allocations: 5.062 kB / 0.955 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.7141, allocations: 11.25 kB / 0.955 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.7144, allocations: 168.7 kB / 0.9552 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.7145, allocations: 0.6796 MB / 0.9558 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.7145, allocations: 10.12 kB / 0.9558 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of SimCode: time 3.9e-07/0.7145, allocations: 0 / 0.9558 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.002184/0.7167, allocations: 0.7145 MB / 0.9565 GB, free: 2.66 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/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