Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001604/0.001604, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002083/0.002083, allocations: 220.7 kB / 23.01 MB, free: 4.609 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.867/2.867, allocations: 476.7 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002024/0.002024, allocations: 64.64 kB / 1.119 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4078, allocations: 170 MB / 1.285 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002813/0.4106, allocations: 1.314 MB / 1.286 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006691/0.4113, allocations: 306.9 kB / 1.286 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.4113, allocations: 0 / 1.286 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.373e-05/0.4113, allocations: 3.938 kB / 1.286 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.4114, allocations: 11.91 kB / 1.286 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.4118, allocations: 79.73 kB / 1.286 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.4119, allocations: 43.77 kB / 1.286 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.4119, allocations: 4 kB / 1.286 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.412, allocations: 27.97 kB / 1.286 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.4121, allocations: 11.94 kB / 1.286 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.4121, allocations: 4 kB / 1.286 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.4123, allocations: 83.91 kB / 1.286 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.4123, allocations: 3.938 kB / 1.286 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.4123, allocations: 7.938 kB / 1.286 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.4125, allocations: 79.72 kB / 1.287 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4125, allocations: 3.938 kB / 1.287 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4125, allocations: 0 / 1.287 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.4125, allocations: 0 / 1.287 GB, free: 1.312 MB / 0.9825 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.00045/0.413, allocations: 278.1 kB / 1.287 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.413, allocations: 12.03 kB / 1.287 GB, free: 1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.4131, allocations: 8.891 kB / 1.287 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4132, allocations: 114.5 kB / 1.287 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4132, allocations: 4.312 kB / 1.287 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.4132, allocations: 384 / 1.287 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.4133, allocations: 45.62 kB / 1.287 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4134, allocations: 3.984 kB / 1.287 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.4134, allocations: 0 / 1.287 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4134, allocations: 0 / 1.287 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.176e-05/0.4134, allocations: 15.98 kB / 1.287 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.4136, allocations: 132.7 kB / 1.287 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.778e-05/0.4137, allocations: 34.52 kB / 1.287 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.4137, allocations: 8.922 kB / 1.287 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006716/0.4144, allocations: 147.8 kB / 1.287 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4144, allocations: 30.56 kB / 1.287 GB, free: 380 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4144, allocations: 0 / 1.287 GB, free: 380 kB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001698/0.4146, allocations: 49.69 kB / 1.287 GB, free: 324 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.4146, allocations: 51.41 kB / 1.287 GB, free: 260 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.4147, allocations: 109.8 kB / 1.288 GB, free: 140 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.4147, allocations: 29.64 kB / 1.288 GB, free: 104 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.4148, allocations: 88.14 kB / 1.288 GB, free: 12 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.4148, allocations: 11.89 kB / 1.288 GB, free: 0 / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.4149, allocations: 13.77 kB / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.415, allocations: 318.8 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.415, allocations: 0 / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.4151, allocations: 7.938 kB / 1.288 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.4151, allocations: 16.86 kB / 1.288 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4151, allocations: 0 / 1.288 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.778e-05/0.4152, allocations: 53.62 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4152, allocations: 4 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4152, allocations: 320 / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4152, allocations: 4 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.288e-05/0.4153, allocations: 7.938 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4153, allocations: 0 / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.609e-05/0.4153, allocations: 0 / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.4153, allocations: 3.984 kB / 1.288 GB, free: 15.55 MB / 0.9981 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 8.997e-05/0.4154, allocations: 109.8 kB / 1.288 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.4154, allocations: 11.89 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.4156, allocations: 65.61 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4156, allocations: 0 / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4156, allocations: 0 / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4156, allocations: 384 / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.4157, allocations: 128.8 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4157, allocations: 3.938 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.4157, allocations: 7.938 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4157, allocations: 4 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.4157, allocations: 4 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.4157, allocations: 7.984 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4157, allocations: 7.922 kB / 1.288 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.4158, allocations: 73.12 kB / 1.288 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.4159, allocations: 19.88 kB / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.4159, allocations: 0 / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.079e-05/0.4159, allocations: 4 kB / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.416, allocations: 7.984 kB / 1.289 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.416, allocations: 4 kB / 1.289 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.416, allocations: 83.28 kB / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.416, allocations: 0 / 1.289 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002147/0.4162, allocations: 31.86 kB / 1.289 GB, free: 14.91 MB / 0.9981 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.0002011/0.4164, allocations: 130.1 kB / 1.289 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.185e-05/0.4165, allocations: 11.94 kB / 1.289 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4165, allocations: 0 / 1.289 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.4165, allocations: 19.98 kB / 1.289 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.4167, allocations: 7.938 kB / 1.289 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.4171, allocations: 136 kB / 1.289 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.4174, allocations: 0.6806 MB / 1.29 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.4174, allocations: 11.44 kB / 1.29 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4174, allocations: 0 / 1.29 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of Templates: time 0.002826/0.4203, allocations: 0.7297 MB / 1.29 GB, free: 13.13 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.834944587986683]