Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001408/0.001408, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001837/0.001837, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.029/1.029, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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 1.849/1.849, allocations: 377.8 MB / 0.6239 GB, free: 8.602 MB / 0.5886 GB " [Timeout remaining time 177] 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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.671e-06, allocations: 4 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.781e-05, allocations: 3.156 kB / 0.8115 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003223/0.003261, allocations: 1.335 MB / 0.8128 GB, free: 0.7656 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.00443, allocations: 0.587 MB / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.004477, allocations: 0 / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.00451, allocations: 4.688 kB / 0.8134 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.004558, allocations: 0 / 0.8134 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008198/0.005377, allocations: 156.7 kB / 0.8136 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.827e-05/0.005466, allocations: 27.97 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.005518, allocations: 6.312 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.442e-05/0.005562, allocations: 19.86 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.005625, allocations: 7.984 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.005644, allocations: 3.984 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003363/0.005981, allocations: 275.3 kB / 0.8139 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.005999, allocations: 0 / 0.8139 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.006028, allocations: 16.64 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.00628, allocations: 155.5 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.006286, allocations: 5.188 kB / 0.8141 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.623e-06/0.006288, allocations: 0 / 0.8141 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.006294, allocations: 0 / 0.8141 GB, free: 15.52 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004199/0.006714, allocations: 392.4 kB / 0.8144 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.006756, allocations: 12.53 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.006808, allocations: 9.766 kB / 0.8144 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.006911, allocations: 120.5 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.006923, allocations: 5.625 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.006951, allocations: 4.375 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.00708, allocations: 101.6 kB / 0.8147 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.00709, allocations: 0.7188 kB / 0.8147 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.007103, allocations: 5.75 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.007111, allocations: 4.375 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.781e-05/0.007149, allocations: 15.92 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.007305, allocations: 124.6 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.007407, allocations: 52.23 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.007445, allocations: 27.67 kB / 0.8149 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.007466, allocations: 8.594 kB / 0.8149 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.007491, allocations: 37.39 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.007493, allocations: 0.7188 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0009185/0.008411, allocations: 458.6 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.008444, allocations: 51.41 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.008521, allocations: 155.5 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.008536, allocations: 29.7 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.008571, allocations: 126.9 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.008608, allocations: 43.64 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.008646, allocations: 37.27 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.008766, allocations: 496.1 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.382e-05/0.0088, allocations: 15.98 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.008826, allocations: 20 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.008895, allocations: 47.61 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.008896, allocations: 1.25 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001139/0.009009, allocations: 84.44 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.009026, allocations: 8 kB / 0.8164 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.009034, allocations: 5.328 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.009051, allocations: 7.922 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.00915, allocations: 27.94 kB / 0.8165 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.009156, allocations: 4.531 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.009172, allocations: 0 / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.009179, allocations: 4.469 kB / 0.8165 GB, free: 12.77 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 (13): * Single equations (assignments): 13 * 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.122e-05/0.00926, allocations: 165.4 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.009281, allocations: 11.95 kB / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.009452, allocations: 90.61 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.009456, allocations: 7.938 kB / 0.8168 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.009461, allocations: 4.844 kB / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.009465, allocations: 0 / 0.8168 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.009789, allocations: 338.2 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.009791, allocations: 4 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.809e-05/0.009869, allocations: 19.98 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.009872, allocations: 5.219 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.009881, allocations: 3.938 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.009884, allocations: 4 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009886, allocations: 0.5625 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.01008, allocations: 256.9 kB / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.01009, allocations: 7.953 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.0101, allocations: 9.578 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.01015, allocations: 4 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.01017, allocations: 11.98 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.01018, allocations: 0 / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.306e-05/0.01021, allocations: 124.1 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01021, allocations: 0 / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002085/0.01042, allocations: 39.34 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001858/0.0106, allocations: 135 kB / 0.8177 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.01072, allocations: 59.66 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.01072, allocations: 0 / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.01075, allocations: 39.61 kB / 0.8178 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.01092, allocations: 4 kB / 0.8178 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.01155, allocations: 257.4 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.199e-05/0.01159, allocations: 60.52 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.01162, allocations: 8 kB / 0.8181 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.01165, allocations: 12.5 kB / 0.8181 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of SimCode: time 9.52e-07/0.01165, allocations: 4 kB / 0.8181 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of Templates: time 0.002912/0.01456, allocations: 0.9574 MB / 0.819 GB, free: 10.1 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.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: 5.242528217844665]