Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.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.001581/0.001581, 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.00194/0.00194, allocations: 217.6 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.82/2.82, allocations: 476.8 MB / 0.7714 GB, free: 4.305 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.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw") [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.002025/0.002025, allocations: 70.2 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4076, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2633/0.671, allocations: 196.6 MB / 1.477 GB, free: 5.926 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008175/0.6791, allocations: 4.045 MB / 1.481 GB, free: 1.875 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.6804, allocations: 23.81 kB / 1.481 GB, free: 1.852 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.6822, allocations: 497 kB / 1.481 GB, free: 1.363 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.6873, allocations: 1.606 MB / 1.483 GB, free: 15.75 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.6919, allocations: 1.415 MB / 1.484 GB, free: 14.34 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003588/0.6954, allocations: 1.651 MB / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.6969, allocations: 0.8383 MB / 1.486 GB, free: 11.82 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.6992, allocations: 0.9658 MB / 1.487 GB, free: 10.86 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.7008, allocations: 0.919 MB / 1.488 GB, free: 9.934 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.7009, allocations: 100 kB / 1.488 GB, free: 9.836 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00378/0.7047, allocations: 1.41 MB / 1.49 GB, free: 8.422 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005221/0.7052, allocations: 370.9 kB / 1.49 GB, free: 8.059 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007693/0.706, allocations: 0.5211 MB / 1.491 GB, free: 7.535 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.7098, allocations: 1.67 MB / 1.492 GB, free: 5.859 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.7098, allocations: 4 kB / 1.492 GB, free: 5.855 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.757e-06/0.7098, allocations: 0 / 1.492 GB, free: 5.855 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.7098, allocations: 0 / 1.492 GB, free: 5.855 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003299/0.7131, allocations: 1.189 MB / 1.493 GB, free: 4.633 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.7131, allocations: 12.03 kB / 1.493 GB, free: 4.621 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.7148, allocations: 235.2 kB / 1.494 GB, free: 4.391 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.716, allocations: 0.5615 MB / 1.494 GB, free: 3.801 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.604e-05/0.716, allocations: 41 kB / 1.494 GB, free: 3.762 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.7161, allocations: 48 kB / 1.494 GB, free: 3.715 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.7179, allocations: 1.004 MB / 1.495 GB, free: 2.637 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.7179, allocations: 4 kB / 1.495 GB, free: 2.633 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.718, allocations: 23.94 kB / 1.495 GB, free: 2.609 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-05/0.7181, allocations: 31.98 kB / 1.495 GB, free: 2.578 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.7198, allocations: 1.007 MB / 1.496 GB, free: 1.57 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00612/0.7259, allocations: 4.102 MB / 1.5 GB, free: 13.3 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.727, allocations: 0.5533 MB / 1.501 GB, free: 12.74 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008162/0.7278, allocations: 481.9 kB / 1.501 GB, free: 12.27 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007679/0.7286, allocations: 136.3 kB / 1.501 GB, free: 12.13 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.7286, allocations: 42.94 kB / 1.501 GB, free: 12.08 MB / 1.201 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002512/0.7312, allocations: 0.6361 MB / 1.502 GB, free: 11.44 MB / 1.201 GB Notification: Performance of pre-optimization done (n=50): time 4.659e-06/0.7312, allocations: 0 / 1.502 GB, free: 11.44 MB / 1.201 GB Notification: Performance of matching and sorting (n=50): time 0.01815/0.7493, allocations: 3.671 MB / 1.506 GB, free: 7.754 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.7494, allocations: 67.78 kB / 1.506 GB, free: 7.676 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.7506, allocations: 0.7116 MB / 1.506 GB, free: 6.957 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.7508, allocations: 33.7 kB / 1.506 GB, free: 6.918 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.7512, allocations: 320.9 kB / 1.507 GB, free: 6.602 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/0.7514, allocations: 190.4 kB / 1.507 GB, free: 6.414 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.7517, allocations: 153.9 kB / 1.507 GB, free: 6.258 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7519, allocations: 322 kB / 1.507 GB, free: 5.938 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.7526, allocations: 400.8 kB / 1.508 GB, free: 5.547 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007986/0.7534, allocations: 480.9 kB / 1.508 GB, free: 5.055 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.755, allocations: 0.9219 MB / 1.509 GB, free: 4.105 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.755, allocations: 8 kB / 1.509 GB, free: 4.098 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01142/0.7664, allocations: 2.549 MB / 1.512 GB, free: 1.535 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.7664, allocations: 8 kB / 1.512 GB, free: 1.527 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.7664, allocations: 0 / 1.512 GB, free: 1.527 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009558/0.776, allocations: 1.726 MB / 1.513 GB, free: 15.79 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.7765, allocations: 103.8 kB / 1.513 GB, free: 15.69 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/0.7901, allocations: 6.944 MB / 1.52 GB, free: 8.504 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/0.7911, allocations: 12.06 kB / 1.52 GB, free: 8.492 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.7912, allocations: 55.92 kB / 1.52 GB, free: 8.438 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000474/0.7916, allocations: 205.7 kB / 1.52 GB, free: 8.227 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.7918, allocations: 83.48 kB / 1.521 GB, free: 8.145 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005207/0.797, allocations: 1.733 MB / 1.522 GB, free: 6.387 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.7971, allocations: 8 kB / 1.522 GB, free: 6.379 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.7971, allocations: 4 kB / 1.522 GB, free: 6.375 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.7971, allocations: 4 kB / 1.522 GB, free: 6.371 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006374/0.8034, allocations: 2.499 MB / 1.525 GB, free: 3.793 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.8035, allocations: 0 / 1.525 GB, free: 3.793 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.8039, allocations: 96.02 kB / 1.525 GB, free: 3.699 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003319/0.8072, allocations: 0.8015 MB / 1.526 GB, free: 2.891 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/0.8073, allocations: 15.98 kB / 1.526 GB, free: 2.875 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007131/0.8144, allocations: 4.654 MB / 1.53 GB, free: 14 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.8144, allocations: 4 kB / 1.53 GB, free: 13.99 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005468/0.8199, allocations: 2.134 MB / 1.532 GB, free: 11.82 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000572/0.8205, allocations: 167.2 kB / 1.532 GB, free: 11.65 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.8206, allocations: 12 kB / 1.532 GB, free: 11.64 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.8211, allocations: 23.97 kB / 1.532 GB, free: 11.62 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.8213, allocations: 60.34 kB / 1.532 GB, free: 11.56 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/0.8214, allocations: 23.94 kB / 1.533 GB, free: 11.54 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.0007073/0.8221, allocations: 0.4912 MB / 1.533 GB, free: 11.05 MB / 1.233 GB Notification: Performance of sort global known variables: time 8e-08/0.8221, allocations: 0 / 1.533 GB, free: 11.05 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.001057/0.8231, allocations: 295.7 kB / 1.533 GB, free: 10.76 MB / 1.233 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004087/0.8235, allocations: 191.7 kB / 1.533 GB, free: 10.57 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.003553/0.8271, allocations: 1.41 MB / 1.535 GB, free: 9.133 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8271, allocations: 256 / 1.535 GB, free: 9.133 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.8289, allocations: 0.8634 MB / 1.536 GB, free: 8.242 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.8311, allocations: 456.1 kB / 1.536 GB, free: 7.797 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.8344, allocations: 1.787 MB / 1.538 GB, free: 5.957 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.8351, allocations: 0.975 MB / 1.539 GB, free: 4.953 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.8354, allocations: 75.41 kB / 1.539 GB, free: 4.879 MB / 1.233 GB Notification: Performance of SimCode: time 1.112e-06/0.8354, allocations: 0 / 1.539 GB, free: 4.879 MB / 1.233 GB Notification: Performance of Templates: time 0.02924/0.8646, allocations: 19.43 MB / 1.558 GB, free: 1.566 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.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: 16.055107257008785]