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.0008276/0.0008279, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 187.7 kB / 16.92 MB, free: 6.746 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.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.729/2.729, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005324, allocations: 8 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8048/0.8054, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001666/0.8071, allocations: 1.02 MB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007012/0.8078, allocations: 311 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.8079, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.8079, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.808, allocations: 7.922 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.8084, allocations: 63.78 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.288e-05/0.8085, allocations: 31.92 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.478e-05/0.8085, allocations: 3.984 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.8087, allocations: 27.81 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.8087, allocations: 15.92 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.8088, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.809, allocations: 83.84 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.809, allocations: 7.938 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.809, allocations: 33.64 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.8092, allocations: 53.89 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8092, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8092, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.8092, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 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.0004669/0.8097, allocations: 351.5 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.8097, allocations: 12.03 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.8098, allocations: 4.844 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.8099, allocations: 168.3 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.81, allocations: 384 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.81, allocations: 384 / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.8101, allocations: 45.62 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.8101, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.8101, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.8101, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.935e-05/0.8102, allocations: 15.92 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.8104, allocations: 165.6 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.8105, allocations: 34.56 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.8105, allocations: 12.92 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.8118, allocations: 1.191 MB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.8118, allocations: 34.56 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.8118, allocations: 3.938 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001801/0.812, allocations: 53.62 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.8121, allocations: 51.41 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.8121, allocations: 109.8 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.8122, allocations: 25.7 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.8122, allocations: 84.14 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.8123, allocations: 7.906 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.8123, allocations: 9.719 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.8124, allocations: 314.8 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.755e-05/0.8124, allocations: 8 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.8124, allocations: 4 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.924e-05/0.8125, allocations: 16.8 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8125, allocations: 8 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.391e-05/0.8126, allocations: 53.81 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8126, allocations: 4 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.8126, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8126, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.73e-05/0.8127, allocations: 4 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8127, allocations: 320 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.8128, allocations: 11.97 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.8128, allocations: 3.984 kB / 1.028 GB, free: 10.94 MB / 0.7794 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 7.367e-05/0.8128, allocations: 109.8 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.8129, allocations: 7.938 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.813, allocations: 61.52 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.813, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.813, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.813, allocations: 0 / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.8132, allocations: 161.6 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.8132, allocations: 11.94 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.8132, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8132, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.8132, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8132, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.8132, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.8133, allocations: 80.97 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.8134, allocations: 88.97 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.8134, allocations: 4 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.8135, allocations: 4 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.8135, allocations: 0 / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.8135, allocations: 4 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.8136, allocations: 87.27 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8136, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002182/0.8138, allocations: 24 kB / 1.029 GB, free: 10.19 MB / 0.7794 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.0002049/0.814, allocations: 131.2 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.726e-05/0.8141, allocations: 19.98 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8141, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.8141, allocations: 11.94 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.8144, allocations: 10.05 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.8147, allocations: 164.3 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.8149, allocations: 0.6809 MB / 1.03 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.815, allocations: 15.44 kB / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.815, allocations: 0 / 1.03 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of Templates: time 0.002309/0.8173, allocations: 0.7199 MB / 1.03 GB, free: 8.383 MB / 0.7794 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/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