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.001563/0.001563, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.002165/0.002165, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.214/3.214, allocations: 0.49 GB / 0.7958 GB, free: 33.37 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.002379/0.002379, allocations: 63.38 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4511, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002586/0.4536, allocations: 1.303 MB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.4543, allocations: 314.9 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.4543, allocations: 0 / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.4544, allocations: 0 / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.4545, allocations: 15.84 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.4548, allocations: 79.72 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.4549, allocations: 39.84 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.4549, allocations: 0 / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.4551, allocations: 39.84 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.4551, allocations: 7.938 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.4551, allocations: 0 / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.4553, allocations: 87.91 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.4553, allocations: 3.984 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.4554, allocations: 11.94 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.4555, allocations: 75.72 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4555, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4555, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.4556, allocations: 0 / 1.329 GB, free: 15.48 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.0004497/0.456, allocations: 282 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.456, allocations: 12.03 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.4561, allocations: 8.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.4562, allocations: 122.4 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4562, allocations: 384 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.4562, allocations: 4.375 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.4564, allocations: 37.62 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.4564, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4564, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4564, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.4564, allocations: 19.92 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.4566, allocations: 128.8 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.4567, allocations: 34.56 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.4568, allocations: 8.922 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006857/0.4574, allocations: 147.8 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.4575, allocations: 34.56 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4575, allocations: 0 / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001655/0.4576, allocations: 49.62 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.4577, allocations: 55.41 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.4578, allocations: 110.1 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.4578, allocations: 25.7 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.4578, allocations: 88.12 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.4579, allocations: 15.84 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.4579, allocations: 17.72 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.458, allocations: 310.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.4581, allocations: 4 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.4581, allocations: 3.984 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.4581, allocations: 20.8 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4581, allocations: 0 / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.788e-05/0.4582, allocations: 49.62 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4582, allocations: 12 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4582, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4582, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.4583, allocations: 4 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4583, allocations: 4.062 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.4583, allocations: 0 / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.4583, allocations: 4 kB / 1.331 GB, free: 13.72 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 8.621e-05/0.4584, allocations: 113.8 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.4584, allocations: 11.89 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.4585, allocations: 61.61 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4585, allocations: 0 / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4586, allocations: 4 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4586, allocations: 0 / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4587, allocations: 132.7 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4587, allocations: 3.938 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.4587, allocations: 8 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.4587, allocations: 4 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4587, allocations: 3.984 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4587, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4587, allocations: 4 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.4588, allocations: 81.39 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.4589, allocations: 7.969 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.4589, allocations: 8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.4589, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.4589, allocations: 7.984 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-06/0.4589, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.896e-05/0.459, allocations: 79.28 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.459, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002175/0.4592, allocations: 35.86 kB / 1.331 GB, free: 13.07 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.0002025/0.4594, allocations: 127.1 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.938e-05/0.4595, allocations: 16 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.4595, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.4595, allocations: 15.92 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.4598, allocations: 13.44 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.4601, allocations: 140 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.4604, allocations: 0.6768 MB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.4604, allocations: 15.44 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4604, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of Templates: time 0.00234/0.4628, allocations: 0.7259 MB / 1.333 GB, free: 11.29 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.851328353979625]