Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.001506, allocations: 112.9 kB / 16.42 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 184.1 kB / 17.35 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6852/0.6865, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002192/0.6887, allocations: 1.288 MB / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000965/0.6897, allocations: 0.6174 MB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.6897, allocations: 0 / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.6897, allocations: 0 / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.333e-05/0.6898, allocations: 3.938 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.6903, allocations: 147.4 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.235e-05/0.6904, allocations: 23.92 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.6905, allocations: 0 / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.6905, allocations: 7.938 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.6906, allocations: 7.984 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.6906, allocations: 0 / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000513/0.6911, allocations: 351.3 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.6911, allocations: 3.938 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.6911, allocations: 8 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.6914, allocations: 156 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.6914, allocations: 0 / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6914, allocations: 0 / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.6915, allocations: 0 / 1.17 GB, free: 1.25 MB / 0.8887 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.0003907/0.6918, allocations: 359.1 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.6919, allocations: 8.625 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.6919, allocations: 4.875 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.6921, allocations: 176.3 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6921, allocations: 384 / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.6921, allocations: 8.312 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.6922, allocations: 42.25 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.6922, allocations: 192 / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.6922, allocations: 3.938 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.6923, allocations: 3.938 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.812e-05/0.6923, allocations: 8 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.6925, allocations: 157.7 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.6927, allocations: 46.61 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.6927, allocations: 16.94 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.6927, allocations: 4 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.6928, allocations: 34.55 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.6928, allocations: 3.938 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0006004/0.6934, allocations: 310.2 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.6934, allocations: 55.41 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.6935, allocations: 101.8 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.6935, allocations: 29.7 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.6935, allocations: 80.14 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.6936, allocations: 23.78 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.6936, allocations: 25.7 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.6937, allocations: 310.8 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.802e-05/0.6937, allocations: 12 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.6938, allocations: 15.98 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.6938, allocations: 28.86 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.6938, allocations: 0 / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001051/0.694, allocations: 77.64 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.694, allocations: 7.938 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.694, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.694, allocations: 4 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/0.6941, allocations: 11.98 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.6941, allocations: 0 / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.6941, allocations: 0 / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.6941, allocations: 8 kB / 1.172 GB, free: 15.04 MB / 0.9044 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.093e-05/0.6942, allocations: 109.8 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.6942, allocations: 7.938 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.6943, allocations: 77.52 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6944, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6944, allocations: 3.938 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.6944, allocations: 85.06 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.6944, allocations: 4 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.247e-05/0.6945, allocations: 3.984 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.6945, allocations: 8 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001613/0.6947, allocations: 141 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001956/0.6949, allocations: 250.7 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.194e-05/0.6949, allocations: 16.02 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.124e-05/0.695, allocations: 83.28 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of Backend: time 2.01e-07/0.695, allocations: 0 / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.6955, allocations: 163.4 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000476/0.696, allocations: 0.6257 MB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of Templates: time 0.003444/0.6995, allocations: 1.26 MB / 1.174 GB, free: 12.14 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches