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.0009983/0.0009983, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009305/0.0009305, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 0.9907/0.9907, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.85/1.85, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.503e-06/1.503e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.237e-05, allocations: 10.75 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002244/0.002267, allocations: 1.516 MB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007972/0.003064, allocations: 0.5994 MB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.003096, allocations: 0 / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.003125, allocations: 7.922 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.003173, allocations: 7.938 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.003592, allocations: 162.2 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.003661, allocations: 51.84 kB / 0.8151 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.87e-05/0.0037, allocations: 0 / 0.8151 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.941e-05/0.003779, allocations: 39.83 kB / 0.8151 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.559e-05/0.003815, allocations: 22.38 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.00383, allocations: 4 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.004128, allocations: 275.4 kB / 0.8154 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.004147, allocations: 7.938 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.004169, allocations: 19.97 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.004393, allocations: 187.3 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004396, allocations: 0.7188 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004397, allocations: 0 / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004401, allocations: 0.5312 kB / 0.8156 GB, free: 14.55 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.0004345/0.004835, allocations: 425.7 kB / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.004878, allocations: 12.03 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.004916, allocations: 8.891 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.219e-05/0.005009, allocations: 108.6 kB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.005033, allocations: 9.031 kB / 0.8161 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.005052, allocations: 4.375 kB / 0.8161 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.00522, allocations: 139.5 kB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.005231, allocations: 192 / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.005246, allocations: 4.359 kB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.005254, allocations: 1.531 kB / 0.8163 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.005293, allocations: 27.91 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.005637, allocations: 289.6 kB / 0.8166 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.005742, allocations: 70.95 kB / 0.8167 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.005761, allocations: 17.44 kB / 0.8167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.005775, allocations: 3.984 kB / 0.8167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.005799, allocations: 41.33 kB / 0.8167 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.005799, allocations: 0 / 0.8167 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.000913/0.006713, allocations: 437.8 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.00674, allocations: 56.19 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.006806, allocations: 157.9 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.006819, allocations: 31.48 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.006862, allocations: 134.8 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.006893, allocations: 43.62 kB / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.00693, allocations: 35.34 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.007046, allocations: 0.4884 MB / 0.818 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.007068, allocations: 12.8 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.007091, allocations: 19.98 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.115e-05/0.007142, allocations: 40.25 kB / 0.8181 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007144, allocations: 7.875 kB / 0.8181 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001083/0.007252, allocations: 93.69 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.007266, allocations: 6.5 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007271, allocations: 0 / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-06/0.00728, allocations: 0 / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.007366, allocations: 30.02 kB / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.00737, allocations: 0 / 0.8182 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.007395, allocations: 4 kB / 0.8183 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.007401, allocations: 320 / 0.8183 GB, free: 11.59 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 7.231e-05/0.007473, allocations: 168.5 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.007495, allocations: 8.5 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.007617, allocations: 98.2 kB / 0.8185 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.00762, allocations: 1.906 kB / 0.8185 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.007621, allocations: 4 kB / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.007624, allocations: 0 / 0.8185 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.007879, allocations: 333.8 kB / 0.8188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.007881, allocations: 4 kB / 0.8188 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.702e-05/0.007958, allocations: 21.14 kB / 0.8189 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.007961, allocations: 4 kB / 0.8189 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.007971, allocations: 8 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007973, allocations: 3.562 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007974, allocations: 0 / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.008174, allocations: 256.2 kB / 0.8191 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.008186, allocations: 7.938 kB / 0.8191 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.0082, allocations: 8 kB / 0.8191 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.038e-05/0.008251, allocations: 7.984 kB / 0.8191 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.008266, allocations: 0 / 0.8191 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.008275, allocations: 11.98 kB / 0.8192 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.008313, allocations: 123.2 kB / 0.8193 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008314, allocations: 2.094 kB / 0.8193 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002007/0.008514, allocations: 31.88 kB / 0.8193 GB, free: 10.45 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.0001565/0.008671, allocations: 139 kB / 0.8194 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.709e-05/0.008768, allocations: 67.56 kB / 0.8195 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008769, allocations: 4.969 kB / 0.8195 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.008799, allocations: 27.67 kB / 0.8195 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.008983, allocations: 21.05 kB / 0.8196 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.009475, allocations: 248.5 kB / 0.8198 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.009509, allocations: 63.34 kB / 0.8199 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.194e-05/0.009551, allocations: 16.75 kB / 0.8199 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.009612, allocations: 90.19 kB / 0.82 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.009613, allocations: 3.938 kB / 0.82 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of Templates: time 0.00306/0.01267, allocations: 1.313 MB / 0.8212 GB, free: 8.473 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.1091191889718175]