Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 107.3 kB / 16.41 MB, free: 6.488 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.001559/0.00156, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.541/1.541, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.501/2.501, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.161, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002691/1.164, allocations: 1.272 MB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000347/1.164, allocations: 122.4 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/1.164, allocations: 0 / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/1.164, allocations: 0.6562 kB / 1.09 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.737e-05/1.164, allocations: 5.641 kB / 1.09 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/1.164, allocations: 41.19 kB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.535e-05/1.165, allocations: 19.98 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/1.165, allocations: 3.141 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/1.165, allocations: 2.594 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.174e-05/1.165, allocations: 8.812 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/1.165, allocations: 1.125 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/1.165, allocations: 50.66 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/1.165, allocations: 1.469 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/1.165, allocations: 3.219 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/1.165, allocations: 46.02 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.165, allocations: 0 / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.126e-06/1.165, allocations: 9.594 kB / 1.09 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.082e-06/1.165, allocations: 0 / 1.09 GB, free: 4.496 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004101/1.166, allocations: 325.6 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.166, allocations: 8.969 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/1.166, allocations: 2.25 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.996e-05/1.166, allocations: 167.3 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/1.166, allocations: 0.8906 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/1.166, allocations: 6.25 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.551e-05/1.166, allocations: 38.67 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.166, allocations: 0 / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/1.166, allocations: 0 / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/1.166, allocations: 1.062 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.72e-05/1.166, allocations: 4.328 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/1.166, allocations: 151.6 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.697e-05/1.166, allocations: 24.39 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/1.166, allocations: 16.44 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006458/1.167, allocations: 0.6136 MB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/1.167, allocations: 31.62 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.167, allocations: 4.875 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001543/1.167, allocations: 45.36 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/1.167, allocations: 52.5 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/1.167, allocations: 100.3 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/1.167, allocations: 29.7 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.29e-05/1.167, allocations: 81.62 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/1.167, allocations: 5.516 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/1.167, allocations: 12.11 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/1.167, allocations: 317.2 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/1.167, allocations: 2.344 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/1.167, allocations: 2.516 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/1.167, allocations: 19.16 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.167, allocations: 0 / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.012e-05/1.168, allocations: 48.47 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/1.168, allocations: 6.062 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/1.168, allocations: 0 / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/1.168, allocations: 0 / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/1.168, allocations: 8.031 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.168, allocations: 1.781 kB / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/1.168, allocations: 0 / 1.092 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/1.168, allocations: 0.6875 kB / 1.092 GB, free: 2.238 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 (2): * Single equations (assignments): 2 * 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 5.629e-05/1.168, allocations: 115.9 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/1.168, allocations: 6.281 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/1.168, allocations: 45.52 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.168, allocations: 1.609 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.168, allocations: 3.938 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/1.168, allocations: 0.5625 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.104e-05/1.168, allocations: 147.8 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.168, allocations: 5.031 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/1.168, allocations: 7.969 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/1.168, allocations: 0 / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/1.168, allocations: 1.656 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.168, allocations: 0 / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.168, allocations: 0.5625 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.077e-05/1.168, allocations: 65.72 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/1.168, allocations: 82.22 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/1.168, allocations: 9.859 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/1.168, allocations: 5.125 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/1.168, allocations: 1.828 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/1.168, allocations: 3.938 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.836e-05/1.168, allocations: 80.2 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.122e-06/1.168, allocations: 0 / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001961/1.168, allocations: 20.27 kB / 1.093 GB, free: 1.609 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 (2): * Single equations (assignments): 2 * 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.0001895/1.169, allocations: 116.2 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.505e-05/1.169, allocations: 15.73 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/1.169, allocations: 0 / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-05/1.169, allocations: 4.75 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/1.169, allocations: 12.02 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/1.169, allocations: 133.4 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/1.17, allocations: 0.6738 MB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/1.17, allocations: 9.875 kB / 1.094 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/1.17, allocations: 4.125 kB / 1.094 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.002625/1.172, allocations: 0.6026 MB / 1.094 GB, free: 16.62 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches