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.006209/0.006209, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001391/0.001391, allocations: 194.9 kB / 16.67 MB, free: 5.969 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.571/2.571, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 60.14 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3092, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002293/0.3115, allocations: 1.29 MB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005183/0.312, allocations: 307.2 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.3121, allocations: 0 / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.3121, allocations: 3.938 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.547e-05/0.3122, allocations: 15.91 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.3125, allocations: 71.73 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.3126, allocations: 35.89 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.3126, allocations: 8 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.172e-05/0.3127, allocations: 27.86 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.3128, allocations: 11.92 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3128, allocations: 0 / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.313, allocations: 83.91 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.313, allocations: 12 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.313, allocations: 7.938 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3132, allocations: 75.72 kB / 1.168 GB, free: 4.844 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3132, allocations: 4 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3132, allocations: 0 / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.3132, allocations: 3.938 kB / 1.168 GB, free: 4.836 MB / 0.92 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.0003988/0.3136, allocations: 359.2 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3136, allocations: 8.031 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3137, allocations: 0.9375 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3138, allocations: 180.3 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3138, allocations: 384 / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.3138, allocations: 4.375 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.36e-05/0.3139, allocations: 41.62 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.314, allocations: 0 / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.314, allocations: 3.938 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.314, allocations: 3.938 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.314, allocations: 8 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.3142, allocations: 157.7 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.3143, allocations: 34.58 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.3143, allocations: 12.92 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.3153, allocations: 1.187 MB / 1.17 GB, free: 2.441 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3154, allocations: 34.56 kB / 1.17 GB, free: 2.398 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3154, allocations: 0 / 1.17 GB, free: 2.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001421/0.3155, allocations: 57.58 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3156, allocations: 51.41 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.3157, allocations: 105.8 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3157, allocations: 25.7 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3158, allocations: 88.14 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3158, allocations: 15.88 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.3159, allocations: 13.72 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.3161, allocations: 314.8 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.3161, allocations: 4 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.3161, allocations: 4 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.886e-05/0.3161, allocations: 24.78 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3161, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001241/0.3163, allocations: 53.58 kB / 1.171 GB, free: 1.594 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3163, allocations: 4 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3163, allocations: 7.938 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.3163, allocations: 0 / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-05/0.3164, allocations: 8 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3164, allocations: 0 / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.3164, allocations: 0 / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.3164, allocations: 0 / 1.171 GB, free: 1.574 MB / 0.92 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 6.483e-05/0.3165, allocations: 109.8 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.3165, allocations: 4.266 kB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.3167, allocations: 73.5 kB / 1.171 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3167, allocations: 0 / 1.171 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3167, allocations: 0 / 1.171 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3167, allocations: 0 / 1.171 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3169, allocations: 157.7 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3169, allocations: 3.938 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.3169, allocations: 4 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3169, allocations: 0 / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.3169, allocations: 0 / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3169, allocations: 8.312 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-05/0.317, allocations: 7.984 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.3171, allocations: 80.95 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.3172, allocations: 85.05 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3172, allocations: 0 / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.3172, allocations: 0 / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.3173, allocations: 7.984 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.3173, allocations: 0 / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.774e-05/0.3173, allocations: 91.27 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3173, allocations: 4 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002384/0.3176, allocations: 31.86 kB / 1.172 GB, free: 0.8086 MB / 0.92 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.0001712/0.3177, allocations: 131.1 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.793e-05/0.3178, allocations: 12 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3178, allocations: 0 / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.3179, allocations: 15.92 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.3181, allocations: 7.938 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.3183, allocations: 121.9 kB / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.3185, allocations: 0.6768 MB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.3186, allocations: 11.95 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.3186, allocations: 11.44 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.3186, allocations: 0 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of Templates: time 0.002643/0.3213, allocations: 0.7834 MB / 1.174 GB, free: 14.99 MB / 0.9356 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