Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001268/0.001268, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001503/0.001503, allocations: 181 kB / 24.09 MB, free: 420 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 0.9888/0.9888, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.811/1.811, allocations: 377.9 MB / 0.6239 GB, free: 8.418 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.323e-05, allocations: 3.312 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001454/0.001467, allocations: 1.34 MB / 0.8133 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000663/0.00213, allocations: 0.5638 MB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.002157, allocations: 4 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.002173, allocations: 4.891 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.114e-05/0.002205, allocations: 3.984 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.002596, allocations: 148.5 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.899e-05/0.002645, allocations: 29.16 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.834e-05/0.002673, allocations: 0 / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.061e-05/0.002724, allocations: 15.92 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.00276, allocations: 0 / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.002771, allocations: 6.156 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.003045, allocations: 271.4 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.003058, allocations: 3.984 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.33e-05/0.003072, allocations: 8 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.003255, allocations: 155.5 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003257, allocations: 0.8125 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003257, allocations: 0 / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.585e-06/0.00326, allocations: 0 / 0.8145 GB, free: 14.92 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000278/0.003538, allocations: 389.5 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.003568, allocations: 8.031 kB / 0.8149 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.003591, allocations: 9.234 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.192e-05/0.003653, allocations: 109.6 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.003663, allocations: 4.375 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.003675, allocations: 384 / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.087e-05/0.003746, allocations: 68.64 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.003752, allocations: 192 / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-06/0.003757, allocations: 0.9062 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.003762, allocations: 384 / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.689e-05/0.003779, allocations: 12.52 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.358e-05/0.003873, allocations: 97.8 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.003991, allocations: 55.73 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.043e-05/0.004012, allocations: 19.77 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.004028, allocations: 7.781 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.004046, allocations: 33.39 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 2.275e-06/0.004048, allocations: 4.516 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.000345/0.004393, allocations: 231 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.004415, allocations: 51.41 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/0.004478, allocations: 161.9 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.004488, allocations: 26.98 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.004522, allocations: 126.9 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.004549, allocations: 27.78 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.004577, allocations: 23.36 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.004683, allocations: 496.7 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.004694, allocations: 12 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.288e-05/0.004707, allocations: 12.69 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.004735, allocations: 21.19 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.004736, allocations: 0 / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.103e-05/0.004797, allocations: 61.64 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.004807, allocations: 4 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.004812, allocations: 4.625 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.004822, allocations: 0 / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.309e-05/0.004855, allocations: 13.75 kB / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.004858, allocations: 0 / 0.8165 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.066e-05/0.004869, allocations: 3.938 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.004872, allocations: 4 kB / 0.8165 GB, free: 12.64 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 (7): * Single equations (assignments): 7 * 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.172e-05/0.004934, allocations: 161.4 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.004942, allocations: 4 kB / 0.8167 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.122e-05/0.005023, allocations: 69.81 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.005024, allocations: 3.469 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.005025, allocations: 0 / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.005029, allocations: 3.938 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.005238, allocations: 293.7 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.00524, allocations: 4 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.005277, allocations: 8 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.005279, allocations: 3.938 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.005287, allocations: 8 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005288, allocations: 4.531 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.00529, allocations: 3.938 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.005407, allocations: 225.3 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.005421, allocations: 4 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-06/0.005429, allocations: 7.984 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.005464, allocations: 0 / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.005476, allocations: 9.031 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.005479, allocations: 0 / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.934e-05/0.005509, allocations: 131.2 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005509, allocations: 1.5 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001527/0.005661, allocations: 19.88 kB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001069/0.005768, allocations: 119.2 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.776e-05/0.005826, allocations: 36.56 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.005827, allocations: 0 / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/0.005843, allocations: 24.45 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.005978, allocations: 8 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.006359, allocations: 192.8 kB / 0.8178 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.006394, allocations: 57.61 kB / 0.8178 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.006416, allocations: 12.36 kB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.006461, allocations: 74.2 kB / 0.8179 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of SimCode: time 3.61e-07/0.006462, allocations: 0 / 0.8179 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.002007/0.008468, allocations: 0.7458 MB / 0.8186 GB, free: 10.36 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.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: 4.990543758962303]