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.001925/0.001925, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002725/0.002725, allocations: 197.1 kB / 16.14 MB, free: 6.633 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.711/2.711, allocations: 437 MB / 0.71 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6335/0.6356, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003549/0.6392, allocations: 1.358 MB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.64, allocations: 315 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.64, allocations: 0 / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.6401, allocations: 3.938 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.6402, allocations: 11.97 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.6405, allocations: 55.8 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.41e-05/0.6406, allocations: 35.86 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.6406, allocations: 0 / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.844e-05/0.6407, allocations: 27.86 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.6408, allocations: 23.91 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.6408, allocations: 0 / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.641, allocations: 79.91 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.641, allocations: 3.938 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.6411, allocations: 11.94 kB / 1.018 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.6412, allocations: 73.81 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6413, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6413, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.6413, allocations: 4 kB / 1.019 GB, free: 0.7617 MB / 0.7637 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.0004511/0.6417, allocations: 363.3 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.6418, allocations: 8.031 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.6418, allocations: 4.938 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.642, allocations: 172.2 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.642, allocations: 384 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.642, allocations: 4.375 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.6421, allocations: 41.75 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6422, allocations: 4 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.6422, allocations: 0 / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.6422, allocations: 4 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.113e-05/0.6422, allocations: 8 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.6424, allocations: 161.7 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.776e-05/0.6425, allocations: 34.62 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.6426, allocations: 8.859 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/0.644, allocations: 1.183 MB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.644, allocations: 42.44 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.644, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001988/0.6442, allocations: 49.69 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.6443, allocations: 59.34 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.6444, allocations: 113.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.6444, allocations: 25.7 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.6445, allocations: 80.14 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.6445, allocations: 11.89 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.6445, allocations: 13.72 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6447, allocations: 314.8 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.6447, allocations: 4 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.6447, allocations: 15.92 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.6448, allocations: 16.86 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6448, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.12e-05/0.6449, allocations: 45.62 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.6449, allocations: 5.094 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6449, allocations: 0 / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6449, allocations: 4 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.645, allocations: 8 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.645, allocations: 0 / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.645, allocations: 0 / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.6451, allocations: 4 kB / 1.021 GB, free: 13.5 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 8.943e-05/0.6452, allocations: 114.6 kB / 1.021 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.6452, allocations: 7.844 kB / 1.021 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.6453, allocations: 65.88 kB / 1.021 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6453, allocations: 0 / 1.021 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6454, allocations: 0 / 1.021 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6454, allocations: 11.94 kB / 1.021 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.6455, allocations: 165.6 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6455, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.6456, allocations: 7.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6456, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.6456, allocations: 7.984 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6456, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6456, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.6457, allocations: 73.44 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.6458, allocations: 92.95 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.6459, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.21e-05/0.6459, allocations: 3.984 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.6459, allocations: 11.97 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.6459, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.646, allocations: 87.28 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.646, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002546/0.6463, allocations: 27.98 kB / 1.022 GB, free: 12.73 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.0002441/0.6465, allocations: 123.2 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.6466, allocations: 19.94 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6466, allocations: 0 / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/0.6467, allocations: 7.984 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.6469, allocations: 11.94 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.6472, allocations: 135.8 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.6476, allocations: 0.6848 MB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.417e-05/0.6476, allocations: 0 / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.6477, allocations: 11.44 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.344e-06/0.6477, allocations: 0 / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.00333/0.651, allocations: 0.778 MB / 1.024 GB, free: 10.91 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=400 -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