Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002094/0.002094, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.0029/0.0029, allocations: 214.2 kB / 22.25 MB, free: 5.258 MB / 14.72 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.382/3.382, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.44 kB / 1.186 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4179, allocations: 181.9 MB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002482/0.4204, allocations: 1.306 MB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.4215, allocations: 0.5332 MB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.4215, allocations: 4 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.4215, allocations: 3.938 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.4216, allocations: 3.984 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.4221, allocations: 139.4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.503e-05/0.4222, allocations: 27.86 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.4222, allocations: 7.938 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.4223, allocations: 15.92 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.4223, allocations: 7.984 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.4223, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004632/0.4228, allocations: 267.5 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.4228, allocations: 7.922 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.4229, allocations: 7.984 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.4231, allocations: 135.5 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4231, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4231, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.4231, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 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.0004721/0.4236, allocations: 282 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4236, allocations: 12.03 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.4237, allocations: 4.891 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.4238, allocations: 118.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4238, allocations: 384 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.4238, allocations: 4.375 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.424, allocations: 63.95 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.424, allocations: 192 / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.424, allocations: 7.875 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.424, allocations: 7.984 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.4241, allocations: 11.94 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.4242, allocations: 109.3 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.4244, allocations: 46.61 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.4244, allocations: 12.86 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.4245, allocations: 4 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4245, allocations: 30.56 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4245, allocations: 0 / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0006299/0.4251, allocations: 241.2 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.4252, allocations: 51.41 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.4253, allocations: 97.86 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.4253, allocations: 25.7 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.4253, allocations: 84.14 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.4254, allocations: 27.78 kB / 1.367 GB, free: 9.703 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.4254, allocations: 17.72 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4256, allocations: 318.8 kB / 1.368 GB, free: 9.359 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.4256, allocations: 8 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.4256, allocations: 15.94 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.3e-05/0.4257, allocations: 32.84 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4257, allocations: 0 / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001117/0.4258, allocations: 73.58 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.4258, allocations: 4 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4258, allocations: 11.92 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4258, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.4259, allocations: 16.06 kB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4259, allocations: 0 / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/0.4259, allocations: 0 / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.4259, allocations: 0 / 1.368 GB, free: 9.191 MB / 1.061 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.339e-05/0.426, allocations: 113.8 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.426, allocations: 0 / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.4261, allocations: 81.61 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4262, allocations: 0 / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4262, allocations: 0 / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4262, allocations: 4 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.4265, allocations: 259.1 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4265, allocations: 7.875 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.4266, allocations: 12 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4266, allocations: 0 / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.4266, allocations: 0.5156 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4266, allocations: 4 kB / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4266, allocations: 0 / 1.368 GB, free: 8.652 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.4268, allocations: 180.4 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.4268, allocations: 7.938 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.4268, allocations: 12.03 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.4269, allocations: 3.984 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.4269, allocations: 7.984 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.4269, allocations: 192 / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.427, allocations: 83.28 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.427, allocations: 0 / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002561/0.4272, allocations: 23.92 kB / 1.369 GB, free: 8.32 MB / 1.061 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.0001717/0.4274, allocations: 115.1 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.4275, allocations: 40.16 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4275, allocations: 4 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.4275, allocations: 16 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.4278, allocations: 7.875 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/0.4282, allocations: 201.4 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.59e-05/0.4283, allocations: 63.48 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.4283, allocations: 12.12 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.4283, allocations: 11.44 kB / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4283, allocations: 0 / 1.369 GB, free: 7.809 MB / 1.061 GB Notification: Performance of Templates: time 0.003431/0.4318, allocations: 0.6505 MB / 1.37 GB, free: 7.203 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.465911440551281]