Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001089/0.001089, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.00156/0.00156, allocations: 165 kB / 23.82 MB, free: 0.75 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.046/1.046, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.907/1.907, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 178] 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.688e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002604/0.00262, allocations: 1.519 MB / 0.813 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003799, allocations: 0.6111 MB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.003842, allocations: 0 / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.00388, allocations: 3.938 kB / 0.8136 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.796e-05/0.003938, allocations: 11.88 kB / 0.8136 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.004649, allocations: 161.3 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.004755, allocations: 59.77 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.004798, allocations: 0.9062 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.004885, allocations: 31.97 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.00493, allocations: 16.94 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.004947, allocations: 4 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004197/0.005367, allocations: 271.5 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.005392, allocations: 17.31 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.005419, allocations: 12 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.005664, allocations: 195.2 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.005667, allocations: 1.938 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.433e-06/0.005669, allocations: 0 / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.005674, allocations: 0 / 0.8144 GB, free: 14.81 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004504/0.006125, allocations: 420.1 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.006168, allocations: 12.03 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.006216, allocations: 10.52 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.006322, allocations: 116.6 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.006352, allocations: 4.375 kB / 0.8149 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.006388, allocations: 8.375 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.006612, allocations: 131.3 kB / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.006624, allocations: 192 / 0.815 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.006639, allocations: 8.891 kB / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.006648, allocations: 384 / 0.8151 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.454e-05/0.006703, allocations: 32.45 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.007147, allocations: 308.7 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.007283, allocations: 67.62 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.007312, allocations: 24.16 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.007333, allocations: 4 kB / 0.8155 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.007355, allocations: 38.7 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.007356, allocations: 0 / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0008418/0.008198, allocations: 470.3 kB / 0.816 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.008228, allocations: 55.41 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.00831, allocations: 159.2 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.008323, allocations: 25.7 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.008377, allocations: 138.9 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.00841, allocations: 43.58 kB / 0.8164 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.008449, allocations: 32.22 kB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.008567, allocations: 0.4961 MB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.0086, allocations: 12.95 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.008628, allocations: 20 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.008696, allocations: 50.8 kB / 0.817 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008697, allocations: 5.406 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001178/0.008815, allocations: 93.77 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.00883, allocations: 7.984 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.008836, allocations: 1.281 kB / 0.8171 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.008856, allocations: 4 kB / 0.8171 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.008956, allocations: 23.98 kB / 0.8171 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.008964, allocations: 7.984 kB / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.008987, allocations: 3.062 kB / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.008997, allocations: 8 kB / 0.8171 GB, free: 11.75 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 6.981e-05/0.009066, allocations: 168.5 kB / 0.8173 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.009089, allocations: 4 kB / 0.8173 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.009234, allocations: 101.7 kB / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.009238, allocations: 4 kB / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.009242, allocations: 0 / 0.8174 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.009245, allocations: 4.484 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.009521, allocations: 358.6 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.009523, allocations: 0 / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.009604, allocations: 23.98 kB / 0.8177 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.009606, allocations: 1.188 kB / 0.8177 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.009616, allocations: 4 kB / 0.8177 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.009618, allocations: 0 / 0.8177 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009619, allocations: 5 kB / 0.8177 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.009828, allocations: 267.7 kB / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.009836, allocations: 0 / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.00985, allocations: 1.344 kB / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.297e-05/0.009903, allocations: 11.98 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.009928, allocations: 7.984 kB / 0.818 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.009935, allocations: 5.094 kB / 0.818 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.009974, allocations: 123.2 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009974, allocations: 4 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002223/0.0102, allocations: 40.47 kB / 0.8182 GB, free: 10.57 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.000211/0.01041, allocations: 137.6 kB / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.01055, allocations: 71.53 kB / 0.8184 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01055, allocations: 0 / 0.8184 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.015e-05/0.01059, allocations: 43.61 kB / 0.8184 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.0108, allocations: 11.98 kB / 0.8184 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.01144, allocations: 257.2 kB / 0.8187 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.01148, allocations: 63.34 kB / 0.8187 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.01152, allocations: 20.75 kB / 0.8188 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.01155, allocations: 16.5 kB / 0.8188 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01155, allocations: 4 kB / 0.8188 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of Templates: time 0.003257/0.01481, allocations: 1.159 MB / 0.8199 GB, free: 8.805 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.398900948930532]