Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.884/2.884, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_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=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.868e-05, allocations: 9.062 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002795/0.002824, allocations: 1.309 MB / 0.7877 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.004163, allocations: 0.545 MB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.00419, allocations: 0 / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.004215, allocations: 5.188 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.004257, allocations: 3.984 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00069/0.004947, allocations: 148.8 kB / 0.7883 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.375e-05/0.005021, allocations: 27.84 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.005057, allocations: 0 / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.005121, allocations: 13.02 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.005172, allocations: 8 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.005187, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.005707, allocations: 268 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.005727, allocations: 7.984 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.005765, allocations: 9.344 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.006083, allocations: 155.4 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.006085, allocations: 0 / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.02e-07/0.006086, allocations: 0 / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.00609, allocations: 1.125 kB / 0.7888 GB, free: 10.3 MB / 0.7448 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.0005302/0.00662, allocations: 290 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.00666, allocations: 9.094 kB / 0.7891 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.00672, allocations: 12.89 kB / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.006854, allocations: 105.8 kB / 0.7892 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.006867, allocations: 1.594 kB / 0.7892 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.006905, allocations: 8.359 kB / 0.7892 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.007062, allocations: 67.95 kB / 0.7893 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.00707, allocations: 1.594 kB / 0.7893 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.00708, allocations: 384 / 0.7893 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.007084, allocations: 384 / 0.7893 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.007136, allocations: 19.86 kB / 0.7893 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.007334, allocations: 112.1 kB / 0.7894 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.00755, allocations: 38.61 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.007595, allocations: 20.94 kB / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.007617, allocations: 0 / 0.7895 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.007652, allocations: 30.56 kB / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.007652, allocations: 0 / 0.7895 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0007684/0.008421, allocations: 233.9 kB / 0.7897 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.008473, allocations: 55.34 kB / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.008573, allocations: 103.5 kB / 0.7899 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.008598, allocations: 29.7 kB / 0.7899 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.008658, allocations: 80.14 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.008697, allocations: 19.8 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.00875, allocations: 29.66 kB / 0.79 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.008934, allocations: 312 kB / 0.7903 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.008965, allocations: 12 kB / 0.7903 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.008994, allocations: 15.98 kB / 0.7903 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.327e-05/0.009058, allocations: 26.45 kB / 0.7904 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.009061, allocations: 4.062 kB / 0.7904 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001414/0.009202, allocations: 77.61 kB / 0.7904 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.009216, allocations: 4 kB / 0.7904 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.00922, allocations: 1.812 kB / 0.7904 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.009236, allocations: 3.938 kB / 0.7905 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.009295, allocations: 12 kB / 0.7905 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.009305, allocations: 7.922 kB / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.009324, allocations: 0 / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.009331, allocations: 4.781 kB / 0.7905 GB, free: 8.387 MB / 0.7448 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 0.0001007/0.009432, allocations: 110.4 kB / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.009451, allocations: 4.516 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.009605, allocations: 74.47 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.009608, allocations: 0 / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.009617, allocations: 8.453 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.009623, allocations: 5.297 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.009991, allocations: 263 kB / 0.7909 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009992, allocations: 0 / 0.7909 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.821e-05/0.01007, allocations: 12.52 kB / 0.7909 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01007, allocations: 0 / 0.7909 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.01009, allocations: 9.312 kB / 0.7909 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01009, allocations: 0 / 0.7909 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01009, allocations: 0 / 0.7909 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.01033, allocations: 177.5 kB / 0.7911 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.01035, allocations: 8.016 kB / 0.7911 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.01037, allocations: 4.125 kB / 0.7911 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.01045, allocations: 9.219 kB / 0.7911 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.01048, allocations: 7.984 kB / 0.7911 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.01049, allocations: 4 kB / 0.7911 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.319e-05/0.01054, allocations: 77.03 kB / 0.7912 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01054, allocations: 0 / 0.7912 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002656/0.0108, allocations: 19.94 kB / 0.7912 GB, free: 7.547 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0002423/0.01105, allocations: 123.1 kB / 0.7914 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.01116, allocations: 37.5 kB / 0.7914 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01116, allocations: 0 / 0.7914 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.0112, allocations: 15.98 kB / 0.7914 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.01144, allocations: 8.781 kB / 0.7914 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.01192, allocations: 180.6 kB / 0.7916 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.808e-05/0.01199, allocations: 63.34 kB / 0.7916 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.579e-05/0.01203, allocations: 13.59 kB / 0.7917 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.01206, allocations: 12.48 kB / 0.7917 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.01206, allocations: 1.031 kB / 0.7917 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of Templates: time 0.003748/0.01581, allocations: 0.6628 MB / 0.7923 GB, free: 6.453 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.764305921038613]