Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007008/0.007008, allocations: 100 kB / 15.73 MB, free: 6.062 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.001197/0.001197, allocations: 197.4 kB / 16.68 MB, free: 5.973 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.689/2.689, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 60.12 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.309, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00233/0.3113, allocations: 1.298 MB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005571/0.3118, allocations: 296.8 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.3119, allocations: 0 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.3119, allocations: 3.938 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.312, allocations: 15.92 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.3123, allocations: 83.67 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.832e-05/0.3124, allocations: 31.91 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.3124, allocations: 7.938 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.3125, allocations: 35.91 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.3126, allocations: 11.92 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.3126, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3127, allocations: 79.91 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.3128, allocations: 11.94 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.3128, allocations: 7.938 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.3129, allocations: 75.72 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3129, allocations: 4 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.313, allocations: 0 / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.313, allocations: 4 kB / 1.223 GB, free: 11.86 MB / 0.9825 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.0004355/0.3134, allocations: 357.4 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3134, allocations: 8.031 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.3135, allocations: 4.891 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3136, allocations: 164.4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3136, allocations: 384 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.3136, allocations: 4.375 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.3137, allocations: 45.56 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3137, allocations: 7.938 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3137, allocations: 0 / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3137, allocations: 0 / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.3138, allocations: 11.98 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001798/0.314, allocations: 153.7 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.301e-05/0.3141, allocations: 30.58 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.3141, allocations: 16.91 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.3153, allocations: 1.187 MB / 1.224 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.3153, allocations: 42.5 kB / 1.224 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3153, allocations: 3.938 kB / 1.224 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001696/0.3155, allocations: 53.83 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3155, allocations: 55.41 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.3156, allocations: 105.8 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.3156, allocations: 29.69 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.3157, allocations: 80.14 kB / 1.225 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.3157, allocations: 11.95 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.3157, allocations: 17.67 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3158, allocations: 314.8 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.3159, allocations: 4 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.3159, allocations: 11.97 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.653e-05/0.3159, allocations: 20.8 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3159, allocations: 0 / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.178e-05/0.316, allocations: 49.62 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.316, allocations: 8 kB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.316, allocations: 0 / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.316, allocations: 0 / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.3161, allocations: 4 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3161, allocations: 0 / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.3161, allocations: 3.938 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3161, allocations: 8 kB / 1.225 GB, free: 8.594 MB / 0.9825 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.396e-05/0.3162, allocations: 109.8 kB / 1.225 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.3162, allocations: 11.92 kB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/0.3163, allocations: 53.91 kB / 1.225 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3163, allocations: 4 kB / 1.225 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3163, allocations: 0 / 1.225 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3163, allocations: 4 kB / 1.225 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.3165, allocations: 157.6 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3165, allocations: 3.938 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.3165, allocations: 11.98 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3165, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3165, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3165, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3165, allocations: 7.922 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.69e-05/0.3166, allocations: 81.06 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.3167, allocations: 88.94 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.3167, allocations: 4 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.148e-05/0.3167, allocations: 3.984 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.3168, allocations: 0 / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3168, allocations: 4 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.3168, allocations: 83.28 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3168, allocations: 0 / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002084/0.317, allocations: 31.86 kB / 1.226 GB, free: 7.836 MB / 0.9825 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.0001904/0.3172, allocations: 135.1 kB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.3173, allocations: 19.92 kB / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3173, allocations: 0 / 1.226 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.518e-05/0.3173, allocations: 8 kB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.3175, allocations: 7.938 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.3178, allocations: 136.2 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3181, allocations: 0.6768 MB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.3182, allocations: 8 kB / 1.227 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.3182, allocations: 11.44 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3182, allocations: 0 / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of Templates: time 0.002874/0.321, allocations: 0.8012 MB / 1.228 GB, free: 5.984 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches