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.001451/0.001451, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001564/0.001564, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.606/1.606, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.886/2.886, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.753e-06/1.753e-06, allocations: 0 / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.066e-05, allocations: 9.312 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002618/0.002648, allocations: 1.305 MB / 0.8121 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006079/0.003256, allocations: 272.4 kB / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.00329, allocations: 0 / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.003311, allocations: 1.594 kB / 0.8123 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.015e-05/0.003401, allocations: 7.922 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.003707, allocations: 80.7 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.326e-05/0.00379, allocations: 40.41 kB / 0.8125 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.003827, allocations: 5.406 kB / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.003972, allocations: 33.12 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.62e-05/0.004018, allocations: 12.61 kB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.004037, allocations: 0 / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.004237, allocations: 80.81 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.004252, allocations: 3.984 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.004278, allocations: 4.656 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.004475, allocations: 99.62 kB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004477, allocations: 0.8438 kB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004478, allocations: 0 / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.004482, allocations: 1.25 kB / 0.8127 GB, free: 188 kB / 0.7605 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.0004406/0.004922, allocations: 274.1 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.00496, allocations: 8.031 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.005008, allocations: 10.86 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.00515, allocations: 109.7 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.005166, allocations: 4.375 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.005176, allocations: 384 / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.00531, allocations: 63.95 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.00532, allocations: 4.938 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.005329, allocations: 0 / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.005335, allocations: 4 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.335e-05/0.005389, allocations: 21.45 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.005553, allocations: 109.4 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/0.005648, allocations: 30.58 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.005676, allocations: 9.891 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/0.006427, allocations: 150.2 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.006464, allocations: 30.56 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.006465, allocations: 4.531 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001822/0.006648, allocations: 62.8 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.006691, allocations: 55.41 kB / 0.8136 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.006796, allocations: 109.8 kB / 0.8137 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.006822, allocations: 29.7 kB / 0.8137 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.006881, allocations: 81.3 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.006915, allocations: 15.92 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.006954, allocations: 17.67 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004224/0.007377, allocations: 315.4 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.007406, allocations: 4 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.007423, allocations: 8.828 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.007467, allocations: 16.86 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007469, allocations: 1.688 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.297e-05/0.007562, allocations: 49.62 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.007576, allocations: 4 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.007581, allocations: 0 / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.007602, allocations: 5.281 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.312e-05/0.007655, allocations: 4 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.007659, allocations: 4 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.007677, allocations: 0 / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.007682, allocations: 0.75 kB / 0.8142 GB, free: 14.44 MB / 0.7761 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 9.95e-05/0.007781, allocations: 115.8 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.007794, allocations: 0 / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.007961, allocations: 65.56 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.007967, allocations: 4.75 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.00797, allocations: 0 / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007973, allocations: 3.406 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.008097, allocations: 113.2 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008098, allocations: 0 / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.008128, allocations: 4 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.00813, allocations: 0 / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.008143, allocations: 8 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.008145, allocations: 0 / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.008148, allocations: 3.938 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.00827, allocations: 73.06 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.00831, allocations: 12.98 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.008322, allocations: 3.938 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-05/0.008363, allocations: 0.5 kB / 0.8146 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.008386, allocations: 9.531 kB / 0.8146 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.008397, allocations: 8 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.13e-05/0.008459, allocations: 83.27 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008459, allocations: 0 / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002435/0.008702, allocations: 23.94 kB / 0.8148 GB, free: 13.86 MB / 0.7761 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.0002681/0.00897, allocations: 132.9 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.009072, allocations: 19.97 kB / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.009074, allocations: 0 / 0.8149 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.425e-05/0.009099, allocations: 12.59 kB / 0.8149 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.009357, allocations: 7.703 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.009731, allocations: 116.7 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.325e-05/0.009825, allocations: 67.2 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.009865, allocations: 7.438 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.009896, allocations: 12.5 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/0.009897, allocations: 0 / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of Templates: time 0.003756/0.01365, allocations: 0.8159 MB / 0.8159 GB, free: 12.66 MB / 0.7761 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/jenkins/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: 7.942560784053057]