Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 114.6 kB / 16.42 MB, free: 6.473 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.00133/0.00133, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.09 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.462/2.462, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 67.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.6944, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002238/0.6966, allocations: 1.479 MB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.6976, allocations: 0.6344 MB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.6977, allocations: 0 / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.6977, allocations: 7.875 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.977e-05/0.6977, allocations: 3.938 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.6983, allocations: 161 kB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.285e-05/0.6984, allocations: 55.78 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.011e-05/0.6984, allocations: 8 kB / 1.17 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.6985, allocations: 27.91 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.6985, allocations: 23.91 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.6986, allocations: 4 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004752/0.699, allocations: 347.3 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.6991, allocations: 15.94 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.6991, allocations: 23.86 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.6994, allocations: 172 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6994, allocations: 3.938 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6994, allocations: 0 / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.6994, allocations: 4 kB / 1.17 GB, free: 0.9258 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005557/0.7, allocations: 402.9 kB / 1.171 GB, free: 492 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.7, allocations: 12.88 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.7001, allocations: 4.938 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.7002, allocations: 176.3 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.7002, allocations: 4.375 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.7002, allocations: 12.38 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.7005, allocations: 78.22 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.7005, allocations: 192 / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.7005, allocations: 3.938 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.7005, allocations: 4 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.7008, allocations: 51.89 kB / 1.171 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.7013, allocations: 328.7 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.7016, allocations: 78.47 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.7017, allocations: 28.84 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.7017, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.7018, allocations: 34.56 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 2.295e-06/0.7018, allocations: 4 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.001598/0.7034, allocations: 0.6502 MB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.7034, allocations: 55.41 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.7035, allocations: 101.8 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.7035, allocations: 29.7 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.7036, allocations: 92.03 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.7036, allocations: 39.64 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.7037, allocations: 33.7 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.7038, allocations: 326.7 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.7039, allocations: 36.11 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.704, allocations: 35.91 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.7043, allocations: 71.08 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.7043, allocations: 0 / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003079/0.7046, allocations: 109.7 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7046, allocations: 8 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7046, allocations: 4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7047, allocations: 0 / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.7048, allocations: 31.92 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.7048, allocations: 96 / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.7049, allocations: 15.86 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.7049, allocations: 4 kB / 1.173 GB, free: 13.79 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 (13): * Single equations (assignments): 13 * 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.368e-05/0.705, allocations: 113.8 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.7051, allocations: 7.953 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.7054, allocations: 129.5 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.7055, allocations: 3.984 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7055, allocations: 0 / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.7055, allocations: 89 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.7055, allocations: 4 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.7057, allocations: 7.984 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.7057, allocations: 4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000436/0.7061, allocations: 200.9 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005268/0.7067, allocations: 334.5 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001759/0.7069, allocations: 40 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.7069, allocations: 83.34 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of Backend: time 3.91e-07/0.7069, allocations: 0 / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006419/0.7075, allocations: 200.4 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000755/0.7083, allocations: 0.7361 MB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.004279/0.7126, allocations: 1.759 MB / 1.177 GB, free: 10.03 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches