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.001095/0.001095, allocations: 104.2 kB / 16.35 MB, free: 5.824 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.00108/0.00108, allocations: 190.3 kB / 17.29 MB, free: 5.48 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.354/1.354, 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 10.1.0-maint.10.0.x/package.mo): time 2.551/2.551, allocations: 437.1 MB / 0.7112 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.47 kB / 0.8707 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2927, allocations: 151.6 MB / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002271/0.2951, allocations: 1.301 MB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005419/0.2956, allocations: 294.9 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.2957, allocations: 0 / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.2957, allocations: 3.938 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.632e-05/0.2958, allocations: 11.92 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.2961, allocations: 83.7 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.2962, allocations: 35.86 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.2962, allocations: 3.938 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.285e-05/0.2963, allocations: 23.98 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.2964, allocations: 15.92 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2964, allocations: 0 / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.2966, allocations: 83.91 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.2966, allocations: 3.938 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.2966, allocations: 11.92 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.2968, allocations: 79.78 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2968, allocations: 0 / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2968, allocations: 0 / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2968, allocations: 0 / 1.021 GB, free: 7.961 MB / 0.795 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.0003868/0.2972, allocations: 359.3 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2972, allocations: 12.92 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.2973, allocations: 0.9375 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2974, allocations: 172.2 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2974, allocations: 384 / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.2974, allocations: 384 / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.672e-05/0.2975, allocations: 45.81 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2975, allocations: 3.984 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2976, allocations: 0 / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2976, allocations: 0 / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.915e-05/0.2976, allocations: 15.98 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.2978, allocations: 157.7 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.498e-05/0.2979, allocations: 34.52 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.2979, allocations: 12.91 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.299, allocations: 1.179 MB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.299, allocations: 50.36 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2991, allocations: 0 / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0001453/0.2992, allocations: 49.61 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.2992, allocations: 55.39 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.35e-05/0.2993, allocations: 109.8 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2994, allocations: 33.7 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.2994, allocations: 80.14 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.2994, allocations: 11.84 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.2995, allocations: 13.72 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2996, allocations: 314.8 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.2996, allocations: 7.984 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.2996, allocations: 0 / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.2997, allocations: 16.86 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2997, allocations: 4 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.777e-05/0.2997, allocations: 49.62 kB / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2998, allocations: 8 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2998, allocations: 0 / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2998, allocations: 3.938 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.2998, allocations: 4 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2999, allocations: 0 / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.2999, allocations: 0 / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2999, allocations: 4 kB / 1.023 GB, free: 4.703 MB / 0.795 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 9.111e-05/0.3, allocations: 118.5 kB / 1.023 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.3, allocations: 11.84 kB / 1.023 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.3001, allocations: 53.89 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3001, allocations: 4 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3002, allocations: 0 / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3002, allocations: 384 / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.3003, allocations: 153.7 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3003, allocations: 0 / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.3003, allocations: 27.86 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3003, allocations: 0 / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3003, allocations: 4 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3003, allocations: 0 / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3004, allocations: 3.984 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.618e-05/0.3004, allocations: 76.97 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.711e-05/0.3005, allocations: 81.05 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3006, allocations: 7.984 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.626e-05/0.3006, allocations: 4 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.3006, allocations: 0 / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.3006, allocations: 8 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.76e-05/0.3007, allocations: 83.27 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3007, allocations: 3.938 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002013/0.3009, allocations: 28 kB / 1.024 GB, free: 3.941 MB / 0.795 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.0001855/0.3011, allocations: 139.1 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.829e-05/0.3012, allocations: 11.98 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3012, allocations: 4 kB / 1.024 GB, free: 3.777 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.3012, allocations: 12 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.3014, allocations: 0 / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.3016, allocations: 126 kB / 1.024 GB, free: 3.617 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3019, allocations: 0.6768 MB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.43e-05/0.3019, allocations: 8 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.3019, allocations: 11.44 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3019, allocations: 0 / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of Templates: time 0.002869/0.3048, allocations: 0.7888 MB / 1.026 GB, free: 2.113 MB / 0.795 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 -s cvode -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/jenkins1/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