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.001341/0.001341, allocations: 111.5 kB / 16.41 MB, free: 6.492 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.001301/0.001301, allocations: 189.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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.16 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.474/2.474, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 59.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9281/0.9298, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00279/0.9326, allocations: 1.261 MB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003676/0.933, allocations: 117.5 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.933, allocations: 0.9062 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.9331, allocations: 4.547 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.9332, allocations: 1.484 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.9334, allocations: 38.48 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.573e-05/0.9335, allocations: 19.75 kB / 1.09 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.928e-05/0.9336, allocations: 9.125 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.9336, allocations: 3.984 kB / 1.09 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.9337, allocations: 8.656 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.9337, allocations: 1.094 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.9339, allocations: 50.56 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.9339, allocations: 0.9375 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.9339, allocations: 3.781 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.9341, allocations: 45.73 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9341, allocations: 0 / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.785e-06/0.9341, allocations: 4.969 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.9341, allocations: 0 / 1.09 GB, free: 4.473 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.0003453/0.9344, allocations: 325.8 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.9345, allocations: 9.938 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.9345, allocations: 1.938 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.9346, allocations: 166.9 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.9347, allocations: 1.281 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.9347, allocations: 5.312 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.84e-05/0.9348, allocations: 42.97 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.9348, allocations: 0 / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.9348, allocations: 0.9688 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9348, allocations: 0 / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.287e-05/0.9348, allocations: 4.781 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.935, allocations: 151.6 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.473e-05/0.935, allocations: 21.19 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.9351, allocations: 11.91 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007204/0.9358, allocations: 0.6093 MB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.9358, allocations: 40.05 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.9358, allocations: 3.938 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001505/0.936, allocations: 42.56 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.936, allocations: 55.34 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.949e-05/0.9361, allocations: 95.97 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.9361, allocations: 34.64 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.9362, allocations: 80.94 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.9362, allocations: 6.359 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.9362, allocations: 12.5 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.871e-05/0.9363, allocations: 316.9 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.9363, allocations: 2.641 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.023e-05/0.9363, allocations: 3.094 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.273e-05/0.9364, allocations: 21.39 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.9364, allocations: 0.875 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.488e-05/0.9365, allocations: 44.08 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.9365, allocations: 7.844 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.9365, allocations: 0.7031 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.9365, allocations: 0.9688 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.9366, allocations: 2.938 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.9366, allocations: 5.172 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.796e-05/0.9366, allocations: 192 / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.9366, allocations: 1.922 kB / 1.092 GB, free: 2.215 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 7.336e-05/0.9367, allocations: 111.7 kB / 1.092 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.9367, allocations: 13.27 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.9369, allocations: 51.02 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9369, allocations: 0 / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9369, allocations: 1.062 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9369, allocations: 0.5625 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.472e-05/0.937, allocations: 147.6 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.937, allocations: 5.062 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.937, allocations: 6.641 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.937, allocations: 1.75 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.937, allocations: 0.9062 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.937, allocations: 0 / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.937, allocations: 0.7969 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.576e-05/0.9371, allocations: 69 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.9372, allocations: 82.69 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.9372, allocations: 5.516 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.676e-05/0.9372, allocations: 8.547 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.9372, allocations: 1.891 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.9372, allocations: 1.062 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.858e-05/0.9373, allocations: 79.36 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9373, allocations: 0 / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002053/0.9375, allocations: 16.11 kB / 1.093 GB, free: 1.586 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.0001967/0.9377, allocations: 113.1 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.9378, allocations: 20.36 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9378, allocations: 0 / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.9378, allocations: 8.828 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.9381, allocations: 14.69 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.9384, allocations: 130.9 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.9387, allocations: 0.675 MB / 1.094 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.9387, allocations: 9.406 kB / 1.094 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.9387, allocations: 4.125 kB / 1.094 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.002603/0.9413, allocations: 0.5927 MB / 1.094 GB, free: 16.6 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