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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001074/0.001074, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.00132/0.00132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.773/2.773, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 12 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5924/0.5927, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001194/0.5939, allocations: 1.012 MB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004636/0.5944, allocations: 279.2 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.5944, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.222e-05/0.5945, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.273e-05/0.5946, allocations: 15.92 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.5948, allocations: 55.8 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.934e-05/0.5949, allocations: 27.86 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.5949, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.818e-05/0.595, allocations: 27.92 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.595, allocations: 15.91 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.5951, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.5952, allocations: 75.86 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.5952, allocations: 11.92 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.5953, allocations: 25.7 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.5954, allocations: 49.91 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5954, allocations: 0 / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5954, allocations: 4 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5954, allocations: 4 kB / 1.024 GB, free: 14.43 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.0003251/0.5957, allocations: 345 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.5958, allocations: 8.031 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.5958, allocations: 3.906 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.5959, allocations: 171 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.5959, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.596, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.163e-05/0.5961, allocations: 45.64 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.5961, allocations: 7.938 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.5961, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5961, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.473e-05/0.5961, allocations: 12 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.5963, allocations: 153.7 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.955e-05/0.5964, allocations: 34.61 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.5964, allocations: 8.922 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.5974, allocations: 1.191 MB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.5975, allocations: 38.45 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.404e-06/0.5975, allocations: 7.984 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001445/0.5976, allocations: 53.59 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.5976, allocations: 51.41 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.5977, allocations: 109.8 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.5977, allocations: 25.7 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.5978, allocations: 80.14 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.5978, allocations: 11.84 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.5978, allocations: 3.938 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5979, allocations: 318.8 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.068e-05/0.598, allocations: 8 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.598, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.182e-05/0.598, allocations: 7.938 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.598, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.028e-05/0.5981, allocations: 45.69 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5981, allocations: 8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5981, allocations: 3.953 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.5981, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.5982, allocations: 4 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.5982, allocations: 0 / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.5982, allocations: 7.984 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.5982, allocations: 4 kB / 1.027 GB, free: 11.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/0.5983, allocations: 113.8 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.5983, allocations: 11.91 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.5985, allocations: 61.83 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5985, allocations: 3.953 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5985, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.5985, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.929e-05/0.5986, allocations: 161.6 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5986, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.5986, allocations: 4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5986, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.5986, allocations: 4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5987, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5987, allocations: 3.953 kB / 1.027 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.654e-05/0.5988, allocations: 76.97 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.5988, allocations: 89.09 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.5988, allocations: 0 / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/0.5989, allocations: 4 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.5989, allocations: 3.953 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.5989, allocations: 0 / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.599, allocations: 91.27 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.599, allocations: 0 / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002142/0.5992, allocations: 24 kB / 1.027 GB, free: 10.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000177/0.5994, allocations: 135.2 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.894e-05/0.5994, allocations: 20.41 kB / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5995, allocations: 0 / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.701e-05/0.5995, allocations: 7.938 kB / 1.027 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.5997, allocations: 7.938 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.5999, allocations: 134.8 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.6001, allocations: 0.677 MB / 1.028 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.437e-05/0.6002, allocations: 7.984 kB / 1.028 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.6002, allocations: 15.44 kB / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6002, allocations: 0 / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of Templates: time 0.002734/0.6029, allocations: 0.7551 MB / 1.029 GB, free: 8.648 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