Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.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.0009345/0.0009345, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.00225, allocations: 440 kB / 10.41 MB, free: 284 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.000724/0.000724, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009532/0.001677, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.052/1.052, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09542/1.148, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.431/2.431, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.234/2.665, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.368e-06/1.085e-05, allocations: 6.312 kB / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001487/0.001498, allocations: 1.427 MB / 0.8204 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006491/0.002147, allocations: 0.5954 MB / 0.821 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.002164, allocations: 0 / 0.821 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.164e-06/0.002171, allocations: 3.938 kB / 0.821 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.79e-05/0.002189, allocations: 7.922 kB / 0.821 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.002449, allocations: 155.2 kB / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.114e-05/0.0025, allocations: 23.88 kB / 0.8211 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.002534, allocations: 7.984 kB / 0.8211 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.002579, allocations: 19.98 kB / 0.8212 GB, free: 184 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.002634, allocations: 15.91 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.002644, allocations: 4 kB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.002973, allocations: 319.3 kB / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.002987, allocations: 4 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.457e-05/0.003001, allocations: 11.94 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.003181, allocations: 143.5 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.003191, allocations: 4 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003191, allocations: 0 / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.003203, allocations: 0 / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003142/0.003517, allocations: 280.3 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.577e-05/0.003543, allocations: 12.03 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.003573, allocations: 12.86 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.17e-05/0.003645, allocations: 109.7 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.003653, allocations: 4.375 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.003677, allocations: 4.375 kB / 0.8221 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.003766, allocations: 105.6 kB / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.003777, allocations: 8.141 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.003782, allocations: 384 / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.003788, allocations: 384 / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/0.00381, allocations: 11.94 kB / 0.8222 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.311e-05/0.003893, allocations: 81.02 kB / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.783e-05/0.003961, allocations: 46.61 kB / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.00398, allocations: 20.86 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.003993, allocations: 0 / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.004015, allocations: 42.5 kB / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.81e-07/0.004016, allocations: 0 / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0006966/0.004713, allocations: 443.7 kB / 0.8228 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.004738, allocations: 51.41 kB / 0.8228 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.004791, allocations: 106.6 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.004802, allocations: 25.7 kB / 0.823 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.868e-05/0.00483, allocations: 92.12 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.004863, allocations: 39.64 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.004894, allocations: 25.83 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/0.004963, allocations: 322.8 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.004978, allocations: 11.94 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.475e-05/0.004992, allocations: 10.88 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.005031, allocations: 36.83 kB / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005032, allocations: 0 / 0.8235 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.246e-05/0.005094, allocations: 69.67 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.005104, allocations: 4 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.005108, allocations: 0 / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.005118, allocations: 0 / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.005185, allocations: 31.92 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.005188, allocations: 7.938 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.0052, allocations: 4 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005205, allocations: 0 / 0.8236 GB, free: 13.49 MB / 0.8073 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 (13): * Single equations (assignments): 13 * 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.628e-05/0.005251, allocations: 113.8 kB / 0.8237 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.00526, allocations: 11.92 kB / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.123e-05/0.005351, allocations: 77.77 kB / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.005353, allocations: 4 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.005354, allocations: 0 / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.005359, allocations: 7.922 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.00554, allocations: 222.8 kB / 0.824 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.005541, allocations: 4 kB / 0.824 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.005604, allocations: 27.92 kB / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.00561, allocations: 3.953 kB / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005611, allocations: 0 / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.005623, allocations: 11.92 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005624, allocations: 3.938 kB / 0.824 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.005625, allocations: 0 / 0.824 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.005734, allocations: 171.5 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.005744, allocations: 4 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.859e-05/0.005783, allocations: 4 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.005797, allocations: 7.922 kB / 0.8242 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.005804, allocations: 12.03 kB / 0.8242 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.077e-06/0.005813, allocations: 8.844 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005813, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001627/0.005976, allocations: 63.73 kB / 0.8243 GB, free: 12.69 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001668/0.006142, allocations: 160 kB / 0.8245 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.249e-05/0.006215, allocations: 51.03 kB / 0.8245 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.006219, allocations: 0 / 0.8245 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.771e-05/0.006247, allocations: 36.78 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.00635, allocations: 16.86 kB / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007527/0.007103, allocations: 188.3 kB / 0.8247 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.409e-05/0.007137, allocations: 63.34 kB / 0.8248 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.007167, allocations: 8 kB / 0.8248 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.007216, allocations: 63.36 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of SimCode: time 7.62e-07/0.007216, allocations: 0 / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.003048/0.01026, allocations: 1.591 MB / 0.8264 GB, free: 10.52 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2.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: 5.283911684527993]