Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001262/0.001262, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 64.14 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.761, allocations: 159.1 MB / 1.221 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002288/0.7633, allocations: 1.269 MB / 1.222 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.7643, allocations: 0.6109 MB / 1.223 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.7644, allocations: 4 kB / 1.223 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.7644, allocations: 3.984 kB / 1.223 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.7645, allocations: 11.92 kB / 1.223 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.7651, allocations: 146.6 kB / 1.223 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.7651, allocations: 11.94 kB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.7652, allocations: 7.984 kB / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.7652, allocations: 15.92 kB / 1.223 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.7653, allocations: 4 kB / 1.223 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.7653, allocations: 4 kB / 1.223 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005268/0.7658, allocations: 343.3 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.7659, allocations: 7.984 kB / 1.223 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.7659, allocations: 11.94 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.7663, allocations: 143.5 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7663, allocations: 0 / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7663, allocations: 0 / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7663, allocations: 0 / 1.223 GB, free: 15.79 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.0004285/0.7667, allocations: 361.2 kB / 1.224 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.7668, allocations: 8.625 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.7668, allocations: 8.938 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.7669, allocations: 168.3 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.767, allocations: 384 / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.767, allocations: 8.375 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.576e-05/0.7671, allocations: 34.25 kB / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.7671, allocations: 192 / 1.224 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.7671, allocations: 11.88 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.7671, allocations: 4 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.961e-05/0.7672, allocations: 15.92 kB / 1.224 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.7674, allocations: 161.7 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.7675, allocations: 42.56 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.7676, allocations: 20.8 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.7676, allocations: 0 / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.7676, allocations: 30.56 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.7676, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0006436/0.7683, allocations: 326.1 kB / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.7683, allocations: 51.41 kB / 1.225 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.149e-05/0.7684, allocations: 93.86 kB / 1.225 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.7684, allocations: 29.7 kB / 1.225 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.7685, allocations: 84.12 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.7685, allocations: 19.75 kB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.7686, allocations: 21.62 kB / 1.225 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7687, allocations: 318.8 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.7687, allocations: 12 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.7687, allocations: 8 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.112e-05/0.7688, allocations: 32.84 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.7688, allocations: 0 / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001062/0.7689, allocations: 73.75 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.769, allocations: 11.94 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.769, allocations: 0 / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.769, allocations: 0 / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.769, allocations: 12 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.7691, allocations: 4 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.7691, allocations: 4 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.7691, allocations: 0 / 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 8.406e-05/0.7692, allocations: 114.4 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.7692, allocations: 3.938 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.7694, allocations: 73.58 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7694, allocations: 0 / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7694, allocations: 0 / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.7695, allocations: 93 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.7695, allocations: 128 / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.626e-05/0.7695, allocations: 11.94 kB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.7696, allocations: 4 kB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001632/0.7697, allocations: 137 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002215/0.77, allocations: 258.7 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.612e-05/0.77, allocations: 16.02 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.051e-05/0.7701, allocations: 79.34 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of Backend: time 3.31e-07/0.7701, allocations: 0 / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005545/0.7706, allocations: 158.3 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005348/0.7712, allocations: 0.6374 MB / 1.227 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of Templates: time 0.00355/0.7747, allocations: 1.248 MB / 1.228 GB, free: 10.69 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches