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.004885/0.004885, allocations: 104.6 kB / 15.74 MB, free: 6.484 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.001152/0.001152, allocations: 189.1 kB / 16.67 MB, free: 6.379 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.329/2.329, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 59.09 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2657, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002231/0.268, allocations: 1.294 MB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005575/0.2685, allocations: 295.2 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.2686, allocations: 0 / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.2686, allocations: 0 / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.895e-05/0.2687, allocations: 19.91 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.269, allocations: 79.72 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.331e-05/0.2691, allocations: 39.78 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.2691, allocations: 4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.2692, allocations: 27.98 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.2693, allocations: 15.91 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.2693, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.2695, allocations: 83.91 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.2695, allocations: 7.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.2696, allocations: 7.938 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.2697, allocations: 79.72 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/0.2697, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.195e-06/0.2697, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.2698, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 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.0004388/0.2702, allocations: 351.4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2703, allocations: 8.031 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.2703, allocations: 0.9375 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2704, allocations: 168.3 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.2704, allocations: 384 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.2705, allocations: 384 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.2706, allocations: 49.56 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2706, allocations: 4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2706, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2706, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.2707, allocations: 15.92 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.2709, allocations: 157.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.97e-05/0.271, allocations: 30.58 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.271, allocations: 16.91 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.2723, allocations: 1.191 MB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.2723, allocations: 34.55 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.2723, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001939/0.2725, allocations: 57.53 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.2726, allocations: 59.39 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.2727, allocations: 109.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.2727, allocations: 25.7 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.2727, allocations: 84.14 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.2728, allocations: 7.844 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.2728, allocations: 17.72 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2729, allocations: 310.8 kB / 1.092 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.273, allocations: 7.984 kB / 1.092 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.273, allocations: 8 kB / 1.092 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.727e-05/0.273, allocations: 16.86 kB / 1.092 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.273, allocations: 0 / 1.092 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.192e-05/0.2731, allocations: 53.56 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2731, allocations: 4 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2731, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2732, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.485e-05/0.2732, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2732, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.2733, allocations: 3.906 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-06/0.2733, allocations: 4 kB / 1.093 GB, free: 12.26 MB / 0.8575 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 8.98e-05/0.2734, allocations: 117.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.2734, allocations: 3.938 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.2735, allocations: 57.53 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2735, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2735, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2735, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.2737, allocations: 161.7 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2737, allocations: 3.938 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.2737, allocations: 11.98 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2737, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2737, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2737, allocations: 7.875 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2738, allocations: 320 / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.852e-05/0.2739, allocations: 77.03 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.2739, allocations: 85.05 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.2739, allocations: 7.922 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.274, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.274, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.274, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.601e-05/0.2741, allocations: 87.25 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2741, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002319/0.2743, allocations: 35.94 kB / 1.093 GB, free: 11.5 MB / 0.8575 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.0001944/0.2745, allocations: 127.8 kB / 1.093 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.2746, allocations: 12.41 kB / 1.093 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2746, allocations: 4 kB / 1.093 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.2746, allocations: 11.94 kB / 1.093 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.2748, allocations: 13.66 kB / 1.093 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.2751, allocations: 114.4 kB / 1.093 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2754, allocations: 0.6846 MB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.2754, allocations: 7.984 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.2754, allocations: 7.438 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2754, allocations: 0 / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.002994/0.2784, allocations: 0.7995 MB / 1.095 GB, free: 9.668 MB / 0.8575 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