Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_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_latest_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_latest_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.001561/0.001561, allocations: 107.3 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.001794/0.001794, allocations: 192.4 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 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: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.84 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6982/0.6995, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003342/0.7029, allocations: 1.471 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.7041, allocations: 0.6344 MB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.7042, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.7042, allocations: 7.938 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.7043, allocations: 11.92 kB / 1.21 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.705, allocations: 161.7 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.193e-05/0.7051, allocations: 43.91 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.7051, allocations: 7.938 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.7052, allocations: 27.91 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.7053, allocations: 31.86 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.7053, allocations: 4 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.7058, allocations: 343.4 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.7059, allocations: 7.984 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.7059, allocations: 27.86 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.7062, allocations: 181.2 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7062, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7063, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.7063, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 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.0006259/0.7069, allocations: 403.2 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.7069, allocations: 8.031 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.707, allocations: 8.844 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.7071, allocations: 168.3 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.7071, allocations: 8.375 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.7072, allocations: 4.375 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.7074, allocations: 74.22 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.7074, allocations: 4.188 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.7074, allocations: 11.88 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.7075, allocations: 4 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.7077, allocations: 51.89 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.7083, allocations: 316.7 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.7086, allocations: 86.47 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.7087, allocations: 32.83 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.7088, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.7088, allocations: 34.56 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.7088, allocations: 0 / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001632/0.7104, allocations: 0.6539 MB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.7105, allocations: 55.41 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.7106, allocations: 101.8 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.7106, allocations: 29.7 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.7106, allocations: 95.98 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.7107, allocations: 39.44 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.7107, allocations: 25.72 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7109, allocations: 318.8 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.711, allocations: 35.97 kB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.7111, allocations: 35.48 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.7114, allocations: 72.77 kB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.7114, allocations: 4 kB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000301/0.7117, allocations: 113.6 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.7117, allocations: 4 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7117, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.7117, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.7119, allocations: 31.92 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.7119, allocations: 3.984 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.712, allocations: 15.94 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.712, allocations: 0 / 1.214 GB, free: 7.555 MB / 0.9356 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.06e-05/0.7121, allocations: 113.8 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.7121, allocations: 4 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.7125, allocations: 129.6 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.7125, allocations: 7.938 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7125, allocations: 4 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.7126, allocations: 81.14 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.7126, allocations: 7.938 kB / 1.214 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.7127, allocations: 7.984 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.7127, allocations: 7.984 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000407/0.7131, allocations: 196.9 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000512/0.7137, allocations: 334.5 kB / 1.215 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000134/0.7138, allocations: 44 kB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.7139, allocations: 79.27 kB / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of Backend: time 2.264e-06/0.7139, allocations: 0 / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006884/0.7146, allocations: 196.6 kB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007839/0.7154, allocations: 0.7442 MB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of Templates: time 0.004727/0.7201, allocations: 1.786 MB / 1.218 GB, free: 3.758 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches