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.0009353/0.0009353, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002176, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009683/0.0009683, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.00217, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.157/1.157, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1014/1.259, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.482/2.482, allocations: 446.7 MB / 0.6745 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2744/2.757, allocations: 145.9 MB / 0.817 GB, free: 4.195 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.292e-06/1.292e-06, allocations: 0 / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/1.977e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck2): time 0.001663/0.001683, allocations: 1.413 MB / 0.8197 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006421/0.002325, allocations: 0.6031 MB / 0.8203 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.002343, allocations: 0 / 0.8203 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.027e-06/0.002352, allocations: 3.938 kB / 0.8203 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.886e-05/0.002371, allocations: 0 / 0.8203 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.002676, allocations: 159.2 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.58e-05/0.002732, allocations: 23.88 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.00277, allocations: 7.984 kB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.325e-05/0.002823, allocations: 23.97 kB / 0.8205 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.00288, allocations: 11.98 kB / 0.8205 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.00289, allocations: 0 / 0.8205 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.003221, allocations: 331.3 kB / 0.8209 GB, free: 240 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.003232, allocations: 0 / 0.8209 GB, free: 240 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.003247, allocations: 8 kB / 0.8209 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002768/0.003524, allocations: 147.5 kB / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.846e-05/0.003543, allocations: 0 / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003543, allocations: 0 / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.298e-05/0.003566, allocations: 0 / 0.821 GB, free: 84 kB / 0.7917 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.0003728/0.003939, allocations: 284.2 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.003971, allocations: 16.62 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.003999, allocations: 4.922 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/0.004078, allocations: 113.7 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004091, allocations: 8.375 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.004114, allocations: 384 / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.887e-05/0.004213, allocations: 105.6 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.004223, allocations: 4.141 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.00423, allocations: 384 / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004235, allocations: 384 / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.922e-05/0.004264, allocations: 15.92 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.045e-05/0.004355, allocations: 77.03 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.457e-05/0.004429, allocations: 46.62 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.004448, allocations: 16.86 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.004467, allocations: 0 / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.00449, allocations: 42.44 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.11e-07/0.004491, allocations: 0 / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0007456/0.005236, allocations: 447.7 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.005263, allocations: 51.41 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.136e-05/0.005315, allocations: 110.6 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.005324, allocations: 29.64 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.912e-05/0.005343, allocations: 80.14 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.005381, allocations: 43.62 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.005411, allocations: 29.66 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.215e-05/0.005493, allocations: 326.9 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.005507, allocations: 8 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.005522, allocations: 11 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.005567, allocations: 40.81 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.005568, allocations: 0 / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.893e-05/0.005636, allocations: 61.67 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005649, allocations: 8 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.005654, allocations: 0 / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.005664, allocations: 0 / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.00574, allocations: 27.92 kB / 0.8229 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.005744, allocations: 3.938 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.005757, allocations: 8 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.005763, allocations: 4 kB / 0.823 GB, free: 13.88 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 5.207e-05/0.005815, allocations: 109.8 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.005824, allocations: 8 kB / 0.8231 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.794e-05/0.005922, allocations: 81.75 kB / 0.8231 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.005924, allocations: 3.938 kB / 0.8231 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.005925, allocations: 0 / 0.8231 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.00593, allocations: 3.938 kB / 0.8231 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.006132, allocations: 218.8 kB / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.006133, allocations: 0 / 0.8234 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.006204, allocations: 35.92 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.006213, allocations: 11.95 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.006215, allocations: 0 / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.006222, allocations: 3.938 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.006224, allocations: 0 / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006224, allocations: 4 kB / 0.8234 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.006349, allocations: 183.4 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.00636, allocations: 4 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.006399, allocations: 4 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.006421, allocations: 15.91 kB / 0.8236 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.006427, allocations: 4.031 kB / 0.8236 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.427e-06/0.006436, allocations: 12.8 kB / 0.8236 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006436, allocations: 0 / 0.8236 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001852/0.006621, allocations: 63.73 kB / 0.8237 GB, free: 13.07 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.0001742/0.006795, allocations: 156 kB / 0.8238 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.835e-05/0.006874, allocations: 43.7 kB / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.00688, allocations: 4 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.402e-05/0.006904, allocations: 36.72 kB / 0.8239 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.007017, allocations: 12.09 kB / 0.8239 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.007964, allocations: 184.3 kB / 0.8241 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.007996, allocations: 59.34 kB / 0.8242 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.108e-05/0.008037, allocations: 15.98 kB / 0.8242 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.008087, allocations: 63.38 kB / 0.8242 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.008087, allocations: 0 / 0.8242 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of Templates: time 0.003066/0.01115, allocations: 1.579 MB / 0.8258 GB, free: 10.92 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.544071462005377]