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.001415/0.001415, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001637/0.001637, allocations: 191.5 kB / 16.25 MB, free: 6.641 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.632/2.632, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 71.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.631/0.6324, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002804/0.6353, allocations: 1.362 MB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005492/0.6358, allocations: 295 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.6359, allocations: 8 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.41e-05/0.6359, allocations: 3.938 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.636, allocations: 7.922 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.6363, allocations: 67.86 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.553e-05/0.6364, allocations: 31.86 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.6364, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.6365, allocations: 31.84 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.514e-05/0.6366, allocations: 15.92 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.6366, allocations: 4 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.6367, allocations: 79.91 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.6368, allocations: 3.938 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.6368, allocations: 15.94 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.6369, allocations: 73.81 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.637, allocations: 0 / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.603e-06/0.637, allocations: 0 / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.637, allocations: 0 / 1.019 GB, free: 0.7422 MB / 0.7637 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.0003416/0.6373, allocations: 359.3 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.6374, allocations: 8.031 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.6374, allocations: 8.922 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.6375, allocations: 168.2 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.6375, allocations: 8.375 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.6375, allocations: 4.375 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.246e-05/0.6376, allocations: 45.69 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.6376, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.6377, allocations: 0 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6377, allocations: 4 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.6377, allocations: 11.98 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.6379, allocations: 157.7 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.943e-05/0.638, allocations: 34.64 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.638, allocations: 16.78 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.6391, allocations: 1.183 MB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.6392, allocations: 42.5 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.805e-06/0.6392, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001567/0.6393, allocations: 53.62 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.6394, allocations: 51.41 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.6395, allocations: 109.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.6395, allocations: 25.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.6395, allocations: 80.14 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.6395, allocations: 11.81 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.6396, allocations: 17.72 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6397, allocations: 310.8 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.6397, allocations: 15.92 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.6397, allocations: 4 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.6398, allocations: 16.86 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6398, allocations: 4 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.375e-05/0.6399, allocations: 45.62 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.6399, allocations: 4 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.6399, allocations: 0 / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.6399, allocations: 4 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.64, allocations: 12 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.64, allocations: 0 / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.64, allocations: 3.938 kB / 1.021 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.64, allocations: 336 / 1.021 GB, free: 13.47 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 6.552e-05/0.6401, allocations: 113.8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.6401, allocations: 7.844 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.6403, allocations: 65.58 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6403, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6403, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.6403, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.6404, allocations: 161.6 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6404, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.6404, allocations: 11.92 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.6404, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.6404, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6405, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6405, allocations: 7.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.456e-05/0.6406, allocations: 65.12 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.6406, allocations: 96.94 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.6406, allocations: 3.938 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.026e-05/0.6407, allocations: 0 / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.6407, allocations: 4 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.6407, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.6408, allocations: 95.27 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6408, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002091/0.641, allocations: 24 kB / 1.022 GB, free: 12.71 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.0001742/0.6412, allocations: 128.9 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.6413, allocations: 23.92 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6413, allocations: 0 / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.6413, allocations: 4 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.6415, allocations: 8 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.6417, allocations: 146.1 kB / 1.022 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.642, allocations: 0.6807 MB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.777e-05/0.6421, allocations: 12.53 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.6421, allocations: 11.42 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.6421, allocations: 3.938 kB / 1.023 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.002696/0.6448, allocations: 0.782 MB / 1.024 GB, free: 10.86 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/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