Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007739/0.0007739, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001883, allocations: 449.8 kB / 10.44 MB, free: 252 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.001088/0.001088, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.00251, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9324/0.9324, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09951/1.032, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.839/1.839, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4421/2.281, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.465e-05, allocations: 2.969 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001562/0.001577, allocations: 1.393 MB / 0.731 GB, free: 3.012 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005887/0.002166, allocations: 0.5925 MB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.002182, allocations: 2.969 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.754e-06/0.00219, allocations: 5.516 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.834e-05/0.002208, allocations: 4.703 kB / 0.7316 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.002493, allocations: 149 kB / 0.7318 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.00255, allocations: 22.88 kB / 0.7318 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.002583, allocations: 4 kB / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.002644, allocations: 12.97 kB / 0.7318 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.002695, allocations: 8.672 kB / 0.7318 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.002708, allocations: 4 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.002994, allocations: 260.8 kB / 0.7321 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.003009, allocations: 0 / 0.7321 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.003024, allocations: 4 kB / 0.7321 GB, free: 1.988 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.003212, allocations: 135.6 kB / 0.7322 GB, free: 1.855 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.003225, allocations: 0.5312 kB / 0.7322 GB, free: 1.855 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.11e-07/0.003226, allocations: 1.625 kB / 0.7322 GB, free: 1.855 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.445e-05/0.00324, allocations: 4 kB / 0.7322 GB, free: 1.852 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.0004136/0.003654, allocations: 272.3 kB / 0.7325 GB, free: 1.559 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.003689, allocations: 8.031 kB / 0.7325 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.003724, allocations: 1.844 kB / 0.7325 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.843e-05/0.003802, allocations: 117.7 kB / 0.7326 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.003811, allocations: 0.875 kB / 0.7326 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.003835, allocations: 12.3 kB / 0.7326 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.142e-05/0.003906, allocations: 65.55 kB / 0.7327 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.003911, allocations: 192 / 0.7327 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.003917, allocations: 384 / 0.7327 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.003924, allocations: 8.359 kB / 0.7327 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.003943, allocations: 8.781 kB / 0.7327 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.375e-05/0.004027, allocations: 61.03 kB / 0.7327 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.004152, allocations: 39.86 kB / 0.7328 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.004169, allocations: 12.8 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.004184, allocations: 1.75 kB / 0.7328 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.004202, allocations: 34.56 kB / 0.7328 GB, free: 1.129 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.004203, allocations: 0 / 0.7328 GB, free: 1.129 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004213/0.004624, allocations: 230.5 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.004646, allocations: 51.41 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.529e-05/0.004691, allocations: 106.7 kB / 0.7332 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.0047, allocations: 26.36 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.00472, allocations: 88.08 kB / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.004746, allocations: 24.88 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.004773, allocations: 21.7 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.004841, allocations: 318.8 kB / 0.7337 GB, free: 204 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-06/0.00485, allocations: 8.719 kB / 0.7337 GB, free: 196 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.004858, allocations: 4 kB / 0.7337 GB, free: 192 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.004887, allocations: 33.75 kB / 0.7337 GB, free: 156 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.004888, allocations: 0 / 0.7337 GB, free: 156 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.403e-05/0.004932, allocations: 50.31 kB / 0.7337 GB, free: 100 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.004942, allocations: 5.25 kB / 0.7338 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.004946, allocations: 0.9062 kB / 0.7338 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.004955, allocations: 0 / 0.7338 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.004992, allocations: 20.64 kB / 0.7338 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.004994, allocations: 0 / 0.7338 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-06/0.005004, allocations: 5.281 kB / 0.7338 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.005008, allocations: 0 / 0.7338 GB, free: 72 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 5.409e-05/0.005062, allocations: 113.8 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.005068, allocations: 5.344 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.005139, allocations: 53.8 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005141, allocations: 4 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.005142, allocations: 0 / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.005145, allocations: 1.766 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.0053, allocations: 211.6 kB / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.005301, allocations: 0 / 0.7341 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.005336, allocations: 17.23 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.005346, allocations: 4 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.005348, allocations: 0 / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.005357, allocations: 5.031 kB / 0.7342 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.005359, allocations: 7.875 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.00536, allocations: 192 / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.208e-05/0.005452, allocations: 164.9 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-06/0.00546, allocations: 5.234 kB / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.005492, allocations: 0 / 0.7343 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.005503, allocations: 7.938 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.005507, allocations: 4.688 kB / 0.7344 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.889e-06/0.005517, allocations: 12.84 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005517, allocations: 5.156 kB / 0.7344 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001424/0.00566, allocations: 35.86 kB / 0.7344 GB, free: 15.36 MB / 0.7136 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.0001348/0.005795, allocations: 128.9 kB / 0.7345 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.591e-05/0.00585, allocations: 24.84 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.005856, allocations: 4.75 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.952e-05/0.005875, allocations: 22.59 kB / 0.7346 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.005986, allocations: 16.95 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.006763, allocations: 154.7 kB / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.057e-05/0.006793, allocations: 61.45 kB / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.006817, allocations: 6.438 kB / 0.7348 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.006856, allocations: 59.38 kB / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.006856, allocations: 0 / 0.7349 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.002337/0.009193, allocations: 0.9921 MB / 0.7358 GB, free: 13.93 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.751355672255158]