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.001597/0.001597, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001778/0.001778, allocations: 211.4 kB / 22.99 MB, free: 4.984 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.125/3.125, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] 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: 78.28 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2768, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002365/0.2792, allocations: 1.311 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0005472/0.2797, allocations: 271.1 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.2797, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.2798, allocations: 3.938 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.912e-05/0.2798, allocations: 7.922 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.2801, allocations: 79.72 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.969e-05/0.2802, allocations: 31.91 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.2802, allocations: 4 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.2804, allocations: 35.84 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.2804, allocations: 15.92 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2804, allocations: 4 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.2806, allocations: 79.91 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.2806, allocations: 4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.2806, allocations: 11.94 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.2808, allocations: 75.72 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2808, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2808, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.2808, allocations: 0 / 1.329 GB, free: 15.09 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.0003777/0.2811, allocations: 282 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2812, allocations: 16.03 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.2812, allocations: 0.9375 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2813, allocations: 122.4 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2813, allocations: 4.375 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-06/0.2813, allocations: 384 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.2815, allocations: 67.33 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2815, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.2815, allocations: 3.938 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2815, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.2815, allocations: 12 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.2817, allocations: 109.4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.2817, allocations: 34.58 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.2818, allocations: 12.91 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/0.2825, allocations: 147.8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.2825, allocations: 34.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2825, allocations: 4 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001511/0.2826, allocations: 53.62 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.2827, allocations: 51.41 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.2828, allocations: 105.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.2828, allocations: 25.7 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.2828, allocations: 88.14 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.2828, allocations: 7.906 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2829, allocations: 13.72 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.283, allocations: 314.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.283, allocations: 7.984 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.264e-05/0.2831, allocations: 8 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.072e-05/0.2831, allocations: 20.8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2831, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.613e-05/0.2832, allocations: 46.02 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2832, allocations: 7.938 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2832, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2832, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.2833, allocations: 4 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2833, allocations: 3.938 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.2833, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2833, allocations: 3.984 kB / 1.33 GB, free: 13.32 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.973e-05/0.2834, allocations: 117.8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.2834, allocations: 7.891 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.2835, allocations: 61.62 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2835, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2835, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2835, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.559e-05/0.2836, allocations: 109.3 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2836, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.2837, allocations: 8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2837, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2837, allocations: 7.938 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2837, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2837, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.2838, allocations: 85.02 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/0.2838, allocations: 3.984 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.2838, allocations: 7.938 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.2839, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.2839, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2839, allocations: 11.98 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.064e-05/0.284, allocations: 91.22 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.284, allocations: 0 / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002178/0.2842, allocations: 27.88 kB / 1.331 GB, free: 12.72 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.0001878/0.2844, allocations: 139.1 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.871e-05/0.2844, allocations: 12 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2844, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.2845, allocations: 7.938 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.2846, allocations: 13.7 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.2849, allocations: 122.2 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.325e-05/0.2849, allocations: 67.34 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.031e-05/0.285, allocations: 12.47 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.285, allocations: 7.438 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.285, allocations: 4 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of Templates: time 0.003409/0.2884, allocations: 0.8161 MB / 1.332 GB, free: 11.48 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 -s gbode -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: 8.283351717007463]