Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002041/0.002041, 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.002386/0.002386, allocations: 161.6 kB / 23.55 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.548/1.548, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.967/2.967, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.769e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003011/0.003038, allocations: 1.298 MB / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004442, allocations: 0.5406 MB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.362e-05/0.004475, allocations: 0 / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.004499, allocations: 1.031 kB / 0.8126 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.00455, allocations: 11.88 kB / 0.8126 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006259/0.005176, allocations: 149.2 kB / 0.8128 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.005243, allocations: 19.92 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.005282, allocations: 4 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.201e-05/0.005354, allocations: 11.97 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.005401, allocations: 5.125 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.005415, allocations: 0 / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004807/0.005896, allocations: 271.4 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.005913, allocations: 4.625 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.005942, allocations: 11.98 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.00624, allocations: 156.3 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.006243, allocations: 0 / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.143e-06/0.006245, allocations: 0.6562 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.00625, allocations: 0 / 0.8132 GB, free: 15.62 MB / 0.7761 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.0004622/0.006712, allocations: 287.9 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.006749, allocations: 8.031 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.006792, allocations: 8.891 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.006915, allocations: 105.8 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.00693, allocations: 4.375 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.006953, allocations: 1.406 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.007094, allocations: 71.94 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.007102, allocations: 192 / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.007111, allocations: 1.344 kB / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.007115, allocations: 384 / 0.8137 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.007157, allocations: 16.67 kB / 0.8137 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.007338, allocations: 101.3 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.007546, allocations: 47.42 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.007587, allocations: 20.94 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.00761, allocations: 1.25 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.007644, allocations: 34.56 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.007645, allocations: 0 / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0007224/0.008367, allocations: 245.6 kB / 0.8141 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.008419, allocations: 56.66 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.008524, allocations: 101.8 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.008547, allocations: 25.7 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.0086, allocations: 81.27 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.008638, allocations: 23.81 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.008682, allocations: 21.7 kB / 0.8144 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.008861, allocations: 319.3 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.008892, allocations: 8 kB / 0.8147 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.871e-05/0.008921, allocations: 16.86 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.358e-05/0.008984, allocations: 28.86 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.008985, allocations: 1.719 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001346/0.00912, allocations: 69.62 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.009137, allocations: 4 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.009141, allocations: 0 / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.009159, allocations: 4 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.009213, allocations: 13.52 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.009219, allocations: 3.938 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.009237, allocations: 0 / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.009245, allocations: 4 kB / 0.8149 GB, free: 13.72 MB / 0.7761 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.772e-05/0.009342, allocations: 111.9 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.009357, allocations: 4 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.00952, allocations: 74.27 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.009524, allocations: 3.984 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.009531, allocations: 3.938 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.009533, allocations: 0.875 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.0099, allocations: 264.7 kB / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.009902, allocations: 0 / 0.8153 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-05/0.009974, allocations: 23.97 kB / 0.8153 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.009976, allocations: 0 / 0.8153 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.009985, allocations: 3.938 kB / 0.8153 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.009989, allocations: 4.625 kB / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.00999, allocations: 0 / 0.8154 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.01024, allocations: 177.3 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.142e-05/0.01026, allocations: 4.578 kB / 0.8155 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.01028, allocations: 11.91 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.01035, allocations: 1.094 kB / 0.8155 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.01037, allocations: 7.984 kB / 0.8155 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.01037, allocations: 4 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.929e-05/0.01043, allocations: 80.09 kB / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01043, allocations: 0 / 0.8156 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002646/0.0107, allocations: 24.81 kB / 0.8157 GB, free: 12.87 MB / 0.7761 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.0002285/0.01093, allocations: 124.5 kB / 0.8158 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.01105, allocations: 31.92 kB / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01105, allocations: 0 / 0.8158 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.325e-05/0.01109, allocations: 16.77 kB / 0.8158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.01132, allocations: 8 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.01175, allocations: 181 kB / 0.816 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.453e-05/0.01182, allocations: 68.75 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.01186, allocations: 9.312 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.01189, allocations: 12.5 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of SimCode: time 4.71e-07/0.01189, allocations: 1.062 kB / 0.8161 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.003455/0.01534, allocations: 0.6429 MB / 0.8167 GB, free: 11.79 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.924312560935505]