Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 100.8 kB / 19.74 MB, free: 2.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 218.2 kB / 23.04 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.373/3.373, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 65.48 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4775/0.4796, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003153/0.4827, allocations: 1.305 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0007124/0.4834, allocations: 279.1 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.4835, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.4835, allocations: 3.938 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.4836, allocations: 15.86 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.484, allocations: 75.72 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.4841, allocations: 31.92 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.4841, allocations: 7.922 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.4843, allocations: 31.91 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.062e-05/0.4843, allocations: 15.92 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.4843, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.4845, allocations: 75.91 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.4846, allocations: 3.938 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.4846, allocations: 11.94 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.4848, allocations: 75.72 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4848, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4848, allocations: 0 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.4848, allocations: 4 kB / 1.329 GB, free: 14.99 MB / 1.029 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.0004674/0.4853, allocations: 282 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.4853, allocations: 12.03 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.4854, allocations: 4.938 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.4855, allocations: 110.4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.4855, allocations: 8.375 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.4855, allocations: 384 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.4857, allocations: 67.27 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.4857, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4857, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4857, allocations: 4 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.471e-05/0.4857, allocations: 8 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.4859, allocations: 109.3 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.486, allocations: 38.67 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.4861, allocations: 4.859 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000679/0.4867, allocations: 151.8 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.4868, allocations: 38.44 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.4868, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001675/0.4869, allocations: 45.69 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.487, allocations: 51.41 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.4871, allocations: 109.8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.4871, allocations: 29.7 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.4871, allocations: 80.14 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.4872, allocations: 7.906 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.4872, allocations: 17.72 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4874, allocations: 318.8 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.718e-05/0.4874, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.4874, allocations: 7.875 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.4874, allocations: 20.86 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4874, allocations: 3.938 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.508e-05/0.4875, allocations: 45.69 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4875, allocations: 11.94 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4875, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4875, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.4876, allocations: 7.984 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.4876, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.576e-05/0.4876, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.4876, allocations: 4 kB / 1.331 GB, free: 13.23 MB / 1.029 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.367e-05/0.4877, allocations: 117.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.4877, allocations: 11.89 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.4879, allocations: 57.98 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4879, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4879, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4879, allocations: 3.984 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.488, allocations: 101.3 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.488, allocations: 8 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.488, allocations: 8 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.488, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4881, allocations: 7.922 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4881, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4881, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.4882, allocations: 85.02 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.4882, allocations: 4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.4882, allocations: 4.359 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.4883, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.4883, allocations: 7.984 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.4883, allocations: 4 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.4883, allocations: 87.28 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4883, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002248/0.4886, allocations: 31.86 kB / 1.331 GB, free: 12.62 MB / 1.029 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.0002189/0.4888, allocations: 135.1 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.767e-05/0.4889, allocations: 19.86 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4889, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-05/0.4889, allocations: 11.98 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.4891, allocations: 6.594 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.4895, allocations: 156 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.934e-05/0.4895, allocations: 59.34 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.4896, allocations: 11.44 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4896, allocations: 3.938 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of Templates: time 0.002389/0.4919, allocations: 0.7367 MB / 1.332 GB, free: 11.44 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.84719572099857]