Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001479/0.00148, allocations: 119.5 kB / 16.42 MB, free: 6.496 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.001657/0.001658, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.406/1.406, 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 11.0.1-master/package.mo): time 2.59/2.59, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.6894, allocations: 159.1 MB / 1.221 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002305/0.6918, allocations: 1.29 MB / 1.222 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.6928, allocations: 0.6071 MB / 1.223 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.6928, allocations: 8 kB / 1.223 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.6929, allocations: 3.938 kB / 1.223 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.6929, allocations: 0 / 1.223 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.6934, allocations: 143.4 kB / 1.223 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.126e-05/0.6935, allocations: 19.88 kB / 1.223 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.6936, allocations: 7.984 kB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.6936, allocations: 11.92 kB / 1.223 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.6936, allocations: 8 kB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.6937, allocations: 4 kB / 1.223 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005097/0.6942, allocations: 347.3 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.6942, allocations: 3.938 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.6942, allocations: 11.92 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.6945, allocations: 135.6 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6945, allocations: 0 / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6945, allocations: 3.938 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.6945, allocations: 4 kB / 1.223 GB, free: 15.8 MB / 0.9512 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.0003924/0.6949, allocations: 369.2 kB / 1.224 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.695, allocations: 8.625 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.695, allocations: 4.938 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.6951, allocations: 168.3 kB / 1.224 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.6951, allocations: 4.375 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.6952, allocations: 384 / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.6953, allocations: 42.25 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.6953, allocations: 192 / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.6953, allocations: 3.938 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.6953, allocations: 3.984 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.6954, allocations: 15.98 kB / 1.224 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.6955, allocations: 161.7 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.6957, allocations: 38.56 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.6958, allocations: 16.86 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.6958, allocations: 0 / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.6958, allocations: 38.56 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.6958, allocations: 0 / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0006075/0.6965, allocations: 314.2 kB / 1.225 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.6965, allocations: 55.34 kB / 1.225 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.973e-05/0.6966, allocations: 97.86 kB / 1.225 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.6966, allocations: 25.7 kB / 1.225 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.6966, allocations: 84.14 kB / 1.225 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.6966, allocations: 19.73 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.6967, allocations: 21.62 kB / 1.225 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.6968, allocations: 318.8 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.6968, allocations: 11.98 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.6968, allocations: 12 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.371e-05/0.6969, allocations: 28.86 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.6969, allocations: 0 / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.676e-05/0.697, allocations: 73.81 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.697, allocations: 7.938 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.697, allocations: 3.938 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.6971, allocations: 0 / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.6971, allocations: 19.98 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6971, allocations: 3.938 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.6971, allocations: 0 / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.6972, allocations: 4.062 kB / 1.225 GB, free: 13.59 MB / 0.9512 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 7.098e-05/0.6972, allocations: 114.4 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.6973, allocations: 3.938 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.6974, allocations: 77.58 kB / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.6974, allocations: 0 / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6974, allocations: 0 / 1.226 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.6975, allocations: 93 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.6975, allocations: 4 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.6975, allocations: 0 / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.6976, allocations: 0 / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001623/0.6977, allocations: 145.5 kB / 1.226 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001956/0.6979, allocations: 250.7 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.991e-05/0.698, allocations: 12.03 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.698, allocations: 95.31 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of Backend: time 2.71e-07/0.698, allocations: 0 / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005245/0.6986, allocations: 158.2 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004943/0.6991, allocations: 0.637 MB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.003358/0.7024, allocations: 1.24 MB / 1.228 GB, free: 10.7 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches