Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 191.3 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.816/2.816, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.89 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9768/0.9788, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002532/0.9813, allocations: 1.269 MB / 1.275 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.9824, allocations: 0.6188 MB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.9825, allocations: 4 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.9825, allocations: 3.938 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.9825, allocations: 7.938 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005727/0.9831, allocations: 143.4 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.738e-05/0.9832, allocations: 19.92 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.9832, allocations: 7.984 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.9833, allocations: 7.938 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.9833, allocations: 11.98 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.9833, allocations: 0 / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005293/0.9839, allocations: 343.3 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.9839, allocations: 8 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.9839, allocations: 11.92 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.9842, allocations: 146.2 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.9842, allocations: 0 / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9842, allocations: 0 / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.9842, allocations: 0 / 1.277 GB, free: 1.969 MB / 0.9669 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.0005924/0.9848, allocations: 367.1 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.9849, allocations: 8.031 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.9849, allocations: 4.938 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.9851, allocations: 172.3 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.9851, allocations: 4.375 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.9851, allocations: 8.359 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.9853, allocations: 38.27 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.9853, allocations: 192 / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.9853, allocations: 3.938 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9853, allocations: 3.938 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.509e-05/0.9854, allocations: 11.98 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.9856, allocations: 157.7 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.9858, allocations: 46.55 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.9858, allocations: 12.86 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.9858, allocations: 8.078 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.9859, allocations: 34.56 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.9859, allocations: 0 / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0006739/0.9865, allocations: 306.2 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.9866, allocations: 55.41 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.9867, allocations: 106.2 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.9867, allocations: 25.7 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.9868, allocations: 80.14 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.9868, allocations: 19.86 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.9868, allocations: 21.7 kB / 1.278 GB, free: 256 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.987, allocations: 310.8 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.987, allocations: 16 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.694e-05/0.9871, allocations: 19.86 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.9871, allocations: 28.86 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.9871, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001087/0.9872, allocations: 73.78 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.9872, allocations: 7.938 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9872, allocations: 4 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.9873, allocations: 0 / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.9873, allocations: 8.188 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.9873, allocations: 3.938 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.9873, allocations: 4 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.9874, allocations: 4 kB / 1.278 GB, free: 15.76 MB / 0.9825 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 9.463e-05/0.9875, allocations: 113.8 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.9875, allocations: 11.92 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.9876, allocations: 69.59 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9876, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.9876, allocations: 4.125 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9876, allocations: 4 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.988, allocations: 327.3 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.988, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.9881, allocations: 11.94 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.9881, allocations: 4 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.9881, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.9881, allocations: 3.938 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9881, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.9883, allocations: 188.3 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.9884, allocations: 77.11 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.9884, allocations: 8.016 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.9885, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.9885, allocations: 4 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.9885, allocations: 0 / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.9885, allocations: 79.28 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9885, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002512/0.9888, allocations: 27.98 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0002078/0.989, allocations: 123.6 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.9891, allocations: 31.98 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9891, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.577e-05/0.9892, allocations: 11.94 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.9894, allocations: 17.91 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.9899, allocations: 213.9 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.9902, allocations: 0.6768 MB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.9902, allocations: 8 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.9903, allocations: 15.38 kB / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9903, allocations: 0 / 1.28 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of Templates: time 0.003385/0.9937, allocations: 0.6509 MB / 1.281 GB, free: 12.96 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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: 8.873692872934043]