Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001654/0.001654, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001918/0.001918, allocations: 217.4 kB / 22.99 MB, free: 4.945 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.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.479/3.479, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002182/0.002182, allocations: 76.23 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4348, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002861/0.4377, allocations: 1.31 MB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006337/0.4383, allocations: 251.2 kB / 1.366 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.321e-05/0.4383, allocations: 3.938 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.4384, allocations: 4 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.737e-05/0.4385, allocations: 15.89 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.4388, allocations: 59.73 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.625e-05/0.4389, allocations: 31.86 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.72e-05/0.439, allocations: 11.98 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.4391, allocations: 27.92 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.4392, allocations: 11.92 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.4392, allocations: 4 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.4393, allocations: 67.86 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.4394, allocations: 7.984 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.4394, allocations: 7.938 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.4396, allocations: 79.72 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4396, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4396, allocations: 4 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4396, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 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.0004586/0.44, allocations: 270.1 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4401, allocations: 12.03 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/0.4406, allocations: 56.8 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.4407, allocations: 110.5 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4407, allocations: 384 / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.4407, allocations: 4.312 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.441, allocations: 87.3 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.441, allocations: 3.938 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.441, allocations: 0 / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.441, allocations: 0 / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.4412, allocations: 39.95 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.4416, allocations: 208.5 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.4418, allocations: 46.55 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.4418, allocations: 12.92 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.4419, allocations: 3.984 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4419, allocations: 34.5 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.4419, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003036/0.4422, allocations: 69.67 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.4422, allocations: 55.34 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.4423, allocations: 109.8 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4424, allocations: 25.7 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.4424, allocations: 84.14 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.4424, allocations: 3.953 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.4425, allocations: 17.7 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4427, allocations: 310.8 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.4427, allocations: 20.11 kB / 1.368 GB, free: 9.953 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.996e-05/0.4428, allocations: 11.94 kB / 1.368 GB, free: 9.941 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.4429, allocations: 32.77 kB / 1.368 GB, free: 9.906 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4429, allocations: 0 / 1.368 GB, free: 9.906 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001467/0.443, allocations: 53.69 kB / 1.368 GB, free: 9.848 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4431, allocations: 8 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4431, allocations: 0 / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4431, allocations: 4.094 kB / 1.368 GB, free: 9.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.387e-05/0.4432, allocations: 7.984 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4432, allocations: 320 / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.483e-05/0.4432, allocations: 7.953 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.4433, allocations: 0 / 1.368 GB, free: 9.82 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.349e-05/0.4433, allocations: 122.8 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.4434, allocations: 3.938 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.988e-05/0.4434, allocations: 11.61 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4434, allocations: 4 kB / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.4434, allocations: 0 / 1.368 GB, free: 9.664 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.4434, allocations: 4 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.4436, allocations: 113.2 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4436, allocations: 0 / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.4436, allocations: 8 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4436, allocations: 0 / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.4437, allocations: 7.984 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4437, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4437, allocations: 3.984 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.4439, allocations: 155.4 kB / 1.369 GB, free: 9.332 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.4439, allocations: 16 kB / 1.369 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.444, allocations: 0 / 1.369 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.444, allocations: 4 kB / 1.369 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.4441, allocations: 3.984 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.4441, allocations: 3.938 kB / 1.369 GB, free: 9.305 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.4441, allocations: 87.28 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4441, allocations: 0 / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002722/0.4444, allocations: 4 kB / 1.369 GB, free: 9.215 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.0001731/0.4446, allocations: 99.23 kB / 1.369 GB, free: 9.109 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.4448, allocations: 31.92 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4448, allocations: 0 / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.741e-05/0.4448, allocations: 15.98 kB / 1.369 GB, free: 9.062 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.4451, allocations: 3.938 kB / 1.369 GB, free: 9.059 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.4455, allocations: 156 kB / 1.369 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.194e-05/0.4456, allocations: 67.34 kB / 1.369 GB, free: 8.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.4457, allocations: 7.438 kB / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.4457, allocations: 0 / 1.369 GB, free: 8.781 MB / 1.061 GB Notification: Performance of Templates: time 0.002154/0.4478, allocations: 0.5706 MB / 1.37 GB, free: 8.211 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.032468586228788]