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.0007573/0.0007573, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009887/0.001746, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006945/0.0006945, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000882/0.001577, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.8821/0.8821, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08191/0.964, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.835/1.835, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4617/2.297, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.203e-06/1.203e-06, allocations: 0 / 0.7294 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.709e-06/1.091e-05, allocations: 4.984 kB / 0.7294 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001466/0.001477, allocations: 1.379 MB / 0.7307 GB, free: 3.129 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006232/0.0021, allocations: 0.6111 MB / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.002116, allocations: 0 / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.462e-06/0.002123, allocations: 0 / 0.7313 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.016e-05/0.002143, allocations: 6.078 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.002437, allocations: 160 kB / 0.7315 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.839e-05/0.002496, allocations: 22.33 kB / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.246e-05/0.002528, allocations: 0 / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.002586, allocations: 20.84 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.579e-05/0.002632, allocations: 7.984 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.002641, allocations: 0.5938 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.00293, allocations: 255.5 kB / 0.7318 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.002939, allocations: 0.8125 kB / 0.7318 GB, free: 2.086 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.002953, allocations: 8 kB / 0.7318 GB, free: 2.078 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.003123, allocations: 132.1 kB / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.003135, allocations: 1.25 kB / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003136, allocations: 0 / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.003148, allocations: 0 / 0.7319 GB, free: 1.949 MB / 0.698 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.0003213/0.003469, allocations: 281.1 kB / 0.7322 GB, free: 1.648 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.003497, allocations: 8.031 kB / 0.7322 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.229e-05/0.003519, allocations: 5.469 kB / 0.7322 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.881e-05/0.003588, allocations: 117.7 kB / 0.7323 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.003596, allocations: 2.094 kB / 0.7323 GB, free: 1.496 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.003615, allocations: 4.375 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.118e-05/0.003686, allocations: 63.95 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.003691, allocations: 192 / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.003698, allocations: 1.188 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.003701, allocations: 384 / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.284e-05/0.003724, allocations: 11.92 kB / 0.7324 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.52e-05/0.003799, allocations: 66.33 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.003922, allocations: 38.48 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.003942, allocations: 25.7 kB / 0.7325 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.003958, allocations: 0 / 0.7325 GB, free: 1.254 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.003976, allocations: 32.09 kB / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.003977, allocations: 0 / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004187/0.004395, allocations: 230.1 kB / 0.7327 GB, free: 0.957 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.004422, allocations: 51.41 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.116e-05/0.004463, allocations: 99.62 kB / 0.7329 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.004472, allocations: 25.7 kB / 0.7329 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.004491, allocations: 80.14 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.004515, allocations: 41.41 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.004536, allocations: 13.72 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.004602, allocations: 322.8 kB / 0.7333 GB, free: 296 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.004611, allocations: 4 kB / 0.7333 GB, free: 292 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.00462, allocations: 8.484 kB / 0.7334 GB, free: 284 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.598e-05/0.004646, allocations: 20.84 kB / 0.7334 GB, free: 260 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.004647, allocations: 1.094 kB / 0.7334 GB, free: 260 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.553e-05/0.004692, allocations: 49.69 kB / 0.7334 GB, free: 204 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.004702, allocations: 4.625 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.004706, allocations: 0 / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.004712, allocations: 5.125 kB / 0.7334 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.464e-05/0.004747, allocations: 15.92 kB / 0.7334 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.004751, allocations: 4.234 kB / 0.7334 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.004762, allocations: 4.656 kB / 0.7335 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-06/0.004765, allocations: 0 / 0.7335 GB, free: 172 kB / 0.698 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 4.351e-05/0.004809, allocations: 115 kB / 0.7336 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-06/0.004814, allocations: 0 / 0.7336 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.404e-05/0.004898, allocations: 61.78 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.004899, allocations: 1.25 kB / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.004901, allocations: 0 / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.004904, allocations: 0 / 0.7336 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.00506, allocations: 212.8 kB / 0.7338 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.005063, allocations: 4 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.005101, allocations: 20.45 kB / 0.7338 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.005113, allocations: 8 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.005114, allocations: 2.109 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.005118, allocations: 3.938 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.005121, allocations: 7.938 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.005122, allocations: 0 / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.169e-05/0.005214, allocations: 157.6 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.005222, allocations: 4 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.005255, allocations: 0 / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.005271, allocations: 16.5 kB / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.005274, allocations: 0 / 0.734 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.116e-06/0.005282, allocations: 13.55 kB / 0.7341 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005282, allocations: 0 / 0.7341 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001578/0.00544, allocations: 40.61 kB / 0.7341 GB, free: 15.45 MB / 0.7136 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.0001265/0.005566, allocations: 121 kB / 0.7342 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.622e-05/0.005622, allocations: 30.22 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.005626, allocations: 0 / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.005642, allocations: 20.78 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.005753, allocations: 13.25 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.006389, allocations: 146.4 kB / 0.7344 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.409e-05/0.006423, allocations: 63.28 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.176e-05/0.006445, allocations: 4.938 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.006483, allocations: 56.16 kB / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.006484, allocations: 2.75 kB / 0.7345 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of Templates: time 0.002486/0.00897, allocations: 0.961 MB / 0.7355 GB, free: 14.07 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.685312729328871]