Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.002388/0.002388, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.00281/0.00281, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.636/1.636, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.469/3.469, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.317e-05, allocations: 7.125 kB / 0.8775 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002692/0.002725, allocations: 1.326 MB / 0.8788 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003896, allocations: 0.5728 MB / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.003919, allocations: 1.094 kB / 0.8793 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.003944, allocations: 3.938 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.003992, allocations: 0 / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.004578, allocations: 153.6 kB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.004648, allocations: 19.92 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.004683, allocations: 0 / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.004753, allocations: 19.97 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.004804, allocations: 11.59 kB / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.00482, allocations: 0 / 0.8795 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004963/0.005316, allocations: 263.5 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.005336, allocations: 7.938 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.595e-05/0.005362, allocations: 7.984 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.005679, allocations: 155.4 kB / 0.8799 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.005684, allocations: 4 kB / 0.8799 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005685, allocations: 0 / 0.8799 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.005689, allocations: 0 / 0.8799 GB, free: 4.094 MB / 0.8386 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.0005227/0.006212, allocations: 387.9 kB / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.006251, allocations: 8.906 kB / 0.8803 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.0063, allocations: 4.938 kB / 0.8803 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.006419, allocations: 105.7 kB / 0.8804 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.006433, allocations: 4.375 kB / 0.8804 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.006451, allocations: 384 / 0.8804 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.006581, allocations: 69.05 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.006589, allocations: 192 / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.006598, allocations: 384 / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.006602, allocations: 1.438 kB / 0.8805 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.669e-05/0.006659, allocations: 23.86 kB / 0.8805 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.006852, allocations: 116.6 kB / 0.8806 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.007053, allocations: 48.12 kB / 0.8807 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.007097, allocations: 23.75 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.007118, allocations: 7.625 kB / 0.8807 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.007159, allocations: 41.39 kB / 0.8808 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.00716, allocations: 0 / 0.8808 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0006661/0.007826, allocations: 241.6 kB / 0.881 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.007872, allocations: 63.28 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.008001, allocations: 157.9 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.008028, allocations: 29.7 kB / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.008101, allocations: 130.9 kB / 0.8813 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.008138, allocations: 23.8 kB / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.008183, allocations: 27.98 kB / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0005182/0.008702, allocations: 496.7 kB / 0.8819 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/0.008729, allocations: 8 kB / 0.8819 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.483e-05/0.008754, allocations: 12.67 kB / 0.8819 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.72e-05/0.008821, allocations: 31.69 kB / 0.8819 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.008825, allocations: 5.031 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000121/0.008946, allocations: 73.78 kB / 0.882 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.008959, allocations: 5.531 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.008963, allocations: 0 / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.008976, allocations: 0 / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.009034, allocations: 12 kB / 0.882 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.009044, allocations: 8.875 kB / 0.882 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.009063, allocations: 3.984 kB / 0.882 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.009068, allocations: 0 / 0.882 GB, free: 1.734 MB / 0.8386 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.0001232/0.009191, allocations: 161.4 kB / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.009209, allocations: 11.95 kB / 0.8822 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.00936, allocations: 69.75 kB / 0.8823 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.009364, allocations: 4 kB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.009371, allocations: 3.938 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.009377, allocations: 3.984 kB / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.009786, allocations: 317.1 kB / 0.8826 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.009787, allocations: 0 / 0.8826 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.498e-05/0.009852, allocations: 12 kB / 0.8826 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.009854, allocations: 0 / 0.8826 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.009868, allocations: 7.922 kB / 0.8826 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.009872, allocations: 4 kB / 0.8826 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.009873, allocations: 4.031 kB / 0.8826 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.01014, allocations: 235.5 kB / 0.8828 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.01017, allocations: 7.984 kB / 0.8828 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.01018, allocations: 4.125 kB / 0.8828 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.01025, allocations: 4 kB / 0.8828 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.01027, allocations: 15.92 kB / 0.8829 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.01028, allocations: 4 kB / 0.8829 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.514e-05/0.01036, allocations: 119.7 kB / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.01036, allocations: 0 / 0.883 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002482/0.01061, allocations: 19.94 kB / 0.883 GB, free: 0.6641 MB / 0.8386 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.000212/0.01082, allocations: 123.2 kB / 0.8831 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.01095, allocations: 39.61 kB / 0.8831 GB, free: 500 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01095, allocations: 0 / 0.8831 GB, free: 500 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.01099, allocations: 27.67 kB / 0.8832 GB, free: 468 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.01121, allocations: 8 kB / 0.8832 GB, free: 460 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004381/0.01165, allocations: 186 kB / 0.8834 GB, free: 240 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.39e-05/0.01173, allocations: 67.2 kB / 0.8834 GB, free: 152 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.754e-05/0.01175, allocations: 4.25 kB / 0.8834 GB, free: 148 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.01178, allocations: 12.5 kB / 0.8834 GB, free: 136 kB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.01178, allocations: 0 / 0.8834 GB, free: 136 kB / 0.8386 GB Notification: Performance of Templates: time 0.003765/0.01554, allocations: 0.6557 MB / 0.8841 GB, free: 15.52 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.690924146096222]