Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0009542/0.0009541, allocations: 98.27 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.006113/0.006113, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437.8 MB / 0.7121 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 8 kB / 0.8728 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6135, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001473/0.615, allocations: 1.015 MB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006898/0.6157, allocations: 311 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.6158, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.6158, allocations: 3.984 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.6159, allocations: 11.92 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.6162, allocations: 55.8 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.362e-05/0.6163, allocations: 31.92 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.6164, allocations: 7.922 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.6165, allocations: 23.92 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.6166, allocations: 19.88 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.6166, allocations: 0 / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.6168, allocations: 79.91 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.6168, allocations: 3.938 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.6169, allocations: 41.62 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.617, allocations: 73.81 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.6171, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6171, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.6171, allocations: 4 kB / 1.025 GB, free: 14.2 MB / 0.7794 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.00039/0.6175, allocations: 347.5 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6175, allocations: 8.031 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.6176, allocations: 8.844 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.6177, allocations: 168.3 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.6177, allocations: 4.375 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.6177, allocations: 384 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.6178, allocations: 41.81 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.6178, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.6179, allocations: 8 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6179, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.6179, allocations: 15.92 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.6181, allocations: 161.6 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.515e-05/0.6182, allocations: 30.58 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.6182, allocations: 12.91 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.6194, allocations: 1.191 MB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.6194, allocations: 42.42 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.6194, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001838/0.6196, allocations: 57.62 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.6197, allocations: 51.41 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.081e-05/0.6198, allocations: 113.8 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.6198, allocations: 25.7 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.6199, allocations: 80.14 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.6199, allocations: 3.906 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.6199, allocations: 17.72 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.62, allocations: 310.8 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.6201, allocations: 3.984 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.04e-05/0.6201, allocations: 8 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.6201, allocations: 16.86 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.6201, allocations: 3.938 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.369e-05/0.6202, allocations: 53.53 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6202, allocations: 8 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6202, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.6203, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.6203, allocations: 4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.6203, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.6204, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.6204, allocations: 8 kB / 1.027 GB, free: 10.94 MB / 0.7794 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.017e-05/0.6204, allocations: 113.8 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.6205, allocations: 7.938 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.6206, allocations: 53.53 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6206, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6206, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6206, allocations: 8 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.6207, allocations: 157.6 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6207, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-05/0.6208, allocations: 11.92 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6208, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.6208, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6208, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6208, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.359e-05/0.6209, allocations: 80.91 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.621, allocations: 85.05 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.621, allocations: 3.984 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.965e-05/0.621, allocations: 4 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.6211, allocations: 4.422 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-06/0.6211, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.6211, allocations: 95.5 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6211, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002208/0.6214, allocations: 28 kB / 1.028 GB, free: 10.18 MB / 0.7794 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.0001988/0.6216, allocations: 133.5 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.6216, allocations: 15.98 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6217, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.6217, allocations: 19.92 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.6219, allocations: 3.938 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.6222, allocations: 142.6 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.6224, allocations: 0.6809 MB / 1.029 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.317e-05/0.6225, allocations: 4 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.6225, allocations: 7.438 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6225, allocations: 4 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of Templates: time 0.002883/0.6254, allocations: 0.76 MB / 1.03 GB, free: 8.359 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches