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.001586/0.001586, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001804/0.001804, allocations: 186.7 kB / 17.35 MB, free: 5.723 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.432/2.432, allocations: 437 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6654/0.6667, 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.002064/0.6688, allocations: 1.285 MB / 1.169 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.6698, allocations: 0.6212 MB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.6698, allocations: 0 / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.6698, allocations: 3.938 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.6699, allocations: 0 / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.6704, allocations: 148.9 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.319e-05/0.6704, allocations: 15.92 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.6705, allocations: 7.938 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.6705, allocations: 15.94 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.6705, allocations: 7.984 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.6706, allocations: 0 / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.6711, allocations: 343.4 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.6711, allocations: 0 / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.6711, allocations: 15.88 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.6714, allocations: 139.5 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.6714, allocations: 0 / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6714, allocations: 4 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.6714, allocations: 0 / 1.17 GB, free: 1.254 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.0003687/0.6718, allocations: 361.3 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.6718, allocations: 8.922 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.6718, allocations: 4.844 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.672, allocations: 172.3 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.672, allocations: 4.359 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.672, allocations: 4.375 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.401e-05/0.6721, allocations: 34.27 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.6721, allocations: 4.125 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.6721, allocations: 7.922 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.6721, allocations: 4 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.6722, allocations: 12 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.6723, allocations: 157.6 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.6725, allocations: 46.55 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.6725, allocations: 20.94 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.6726, allocations: 0 / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.6726, allocations: 38.56 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.6726, allocations: 3.984 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0005796/0.6732, allocations: 306.2 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.6732, allocations: 51.41 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.273e-05/0.6733, allocations: 97.84 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.6733, allocations: 25.7 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.6733, allocations: 88.14 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.6734, allocations: 23.64 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.6734, allocations: 25.7 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6735, allocations: 318.8 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/0.6736, allocations: 8 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.6736, allocations: 11.98 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.386e-05/0.6737, allocations: 32.86 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.6737, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.496e-05/0.6738, allocations: 65.59 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6738, allocations: 7.938 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.6738, allocations: 4 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.6738, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.406e-05/0.6739, allocations: 15.94 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6739, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.6739, allocations: 4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.6739, allocations: 7.984 kB / 1.172 GB, free: 15.05 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.686e-05/0.674, allocations: 105.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.674, allocations: 7.938 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.6741, allocations: 69.66 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6741, allocations: 4 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.6741, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.6742, allocations: 81.22 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.6742, allocations: 11.94 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.6743, allocations: 7.875 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.6743, allocations: 11.98 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001485/0.6745, allocations: 136.9 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001931/0.6747, allocations: 254.8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.901e-05/0.6747, allocations: 19.95 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.858e-05/0.6747, allocations: 79.28 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of Backend: time 2e-07/0.6748, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.6752, allocations: 163.6 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004814/0.6757, allocations: 0.6295 MB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of Templates: time 0.3641/1.04, allocations: 1.266 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