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.0007618/0.0007618, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009687/0.00173, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006946/0.0006946, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008876/0.001582, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9249/0.9249, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08846/1.013, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.803/1.803, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4623/2.265, allocations: 123.3 MB / 0.728 GB, free: 5.824 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0.875 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.409e-05, allocations: 7 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002503/0.002527, allocations: 1.394 MB / 0.7307 GB, free: 3.148 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004555/0.002983, allocations: 287 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.003008, allocations: 0 / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.003019, allocations: 5.344 kB / 0.731 GB, free: 2.871 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.125e-05/0.003091, allocations: 16.08 kB / 0.731 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.003302, allocations: 60.38 kB / 0.731 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.003393, allocations: 37.28 kB / 0.7311 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.003432, allocations: 4.859 kB / 0.7311 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.00359, allocations: 48.34 kB / 0.7311 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.003651, allocations: 12.64 kB / 0.7311 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.003667, allocations: 0.6875 kB / 0.7311 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.003871, allocations: 89.61 kB / 0.7312 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.003884, allocations: 4 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.003902, allocations: 7.938 kB / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.004077, allocations: 71.81 kB / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.785e-05/0.004094, allocations: 0 / 0.7313 GB, free: 2.551 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.183e-06/0.004096, allocations: 5.062 kB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.004116, allocations: 0 / 0.7313 GB, free: 2.547 MB / 0.698 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.0004159/0.004532, allocations: 261.4 kB / 0.7316 GB, free: 2.27 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.004572, allocations: 12.03 kB / 0.7316 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.004606, allocations: 0.9375 kB / 0.7316 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.004707, allocations: 118.4 kB / 0.7317 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.00472, allocations: 384 / 0.7317 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.004734, allocations: 9.25 kB / 0.7317 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.004843, allocations: 63.89 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.004853, allocations: 4.688 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.004862, allocations: 0 / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004867, allocations: 0.6875 kB / 0.7318 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.004898, allocations: 7.984 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001012/0.004999, allocations: 58.89 kB / 0.7318 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.343e-05/0.005082, allocations: 30.61 kB / 0.7319 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.005101, allocations: 8.859 kB / 0.7319 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004834/0.005584, allocations: 145.8 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.005611, allocations: 36.34 kB / 0.732 GB, free: 1.723 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.005613, allocations: 0 / 0.732 GB, free: 1.723 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001126/0.005725, allocations: 45.62 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.005755, allocations: 55.34 kB / 0.7321 GB, free: 1.605 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.005828, allocations: 115.9 kB / 0.7322 GB, free: 1.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.00584, allocations: 25.7 kB / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.005864, allocations: 84.14 kB / 0.7324 GB, free: 1.363 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.005893, allocations: 7.891 kB / 0.7324 GB, free: 1.355 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.005926, allocations: 23.5 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.006013, allocations: 310.8 kB / 0.7327 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.006023, allocations: 7.984 kB / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-06/0.006031, allocations: 0 / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.006061, allocations: 16.8 kB / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.006063, allocations: 0.75 kB / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.032e-05/0.006124, allocations: 41.69 kB / 0.7327 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.006138, allocations: 4.625 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006143, allocations: 0.75 kB / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/0.006152, allocations: 0 / 0.7327 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.406e-05/0.006206, allocations: 9.547 kB / 0.7328 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.006211, allocations: 11.88 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.435e-05/0.006225, allocations: 336 / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.006229, allocations: 0 / 0.7328 GB, free: 0.918 MB / 0.698 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 5.849e-05/0.006288, allocations: 106.5 kB / 0.7329 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.006296, allocations: 4 kB / 0.7329 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.006405, allocations: 55.33 kB / 0.7329 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.006409, allocations: 7.984 kB / 0.7329 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.006412, allocations: 4.656 kB / 0.7329 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006415, allocations: 0 / 0.7329 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.164e-05/0.006487, allocations: 66.42 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.006488, allocations: 1.625 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.006519, allocations: 8 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.006553, allocations: 11.98 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006555, allocations: 0 / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.00656, allocations: 2.75 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.006561, allocations: 0 / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006562, allocations: 0 / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.373e-05/0.006636, allocations: 69 kB / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.006646, allocations: 0 / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.006707, allocations: 0 / 0.7331 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.006724, allocations: 3.984 kB / 0.7331 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.006733, allocations: 4 kB / 0.7331 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.668e-05/0.006749, allocations: 14.89 kB / 0.7331 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.006749, allocations: 0 / 0.7331 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001187/0.006868, allocations: 35.8 kB / 0.7331 GB, free: 492 kB / 0.698 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.0001463/0.007014, allocations: 112.3 kB / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.74e-05/0.007072, allocations: 17.34 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.007076, allocations: 2.844 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.03e-05/0.007086, allocations: 16.8 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.492e-05/0.007181, allocations: 8 kB / 0.7333 GB, free: 324 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.007903, allocations: 132.5 kB / 0.7334 GB, free: 164 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.434e-05/0.007938, allocations: 55.36 kB / 0.7335 GB, free: 88 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.007977, allocations: 10.92 kB / 0.7335 GB, free: 80 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.008026, allocations: 56.81 kB / 0.7335 GB, free: 24 kB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/0.008028, allocations: 0 / 0.7335 GB, free: 24 kB / 0.698 GB Notification: Performance of Templates: time 0.003165/0.01119, allocations: 0.9512 MB / 0.7345 GB, free: 15.12 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.729907038621604]