Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.001093/0.001093, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001592/0.002685, 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.001059/0.001059, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.00245, 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 0.982/0.982, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09843/1.08, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.367/2.367, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.233/2.6, allocations: 146 MB / 0.8176 GB, free: 3.797 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.PowerLaw_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.PowerLaw_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.PowerLaw_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.819 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.499e-05, allocations: 2.312 kB / 0.819 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2): time 0.001707/0.001722, allocations: 1.483 MB / 0.8204 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000889/0.002611, allocations: 0.9809 MB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.002643, allocations: 0 / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.035e-05/0.002654, allocations: 3.938 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.68e-05/0.002681, allocations: 7.875 kB / 0.8214 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.003138, allocations: 266.8 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.814e-05/0.003216, allocations: 55.78 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.00325, allocations: 7.969 kB / 0.8217 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.003318, allocations: 35.91 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.003373, allocations: 27.91 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.003383, allocations: 0 / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005551/0.003938, allocations: 0.5109 MB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.003957, allocations: 4 kB / 0.8223 GB, free: 15 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.00398, allocations: 19.94 kB / 0.8223 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.004315, allocations: 299.1 kB / 0.8226 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.004327, allocations: 0 / 0.8226 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004327, allocations: 0 / 0.8226 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.00434, allocations: 0 / 0.8226 GB, free: 14.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.000386/0.004726, allocations: 363.5 kB / 0.8229 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.004756, allocations: 12.03 kB / 0.823 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.004794, allocations: 4.938 kB / 0.823 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.954e-05/0.004883, allocations: 117.7 kB / 0.8231 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.004893, allocations: 4.375 kB / 0.8231 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.00492, allocations: 8.375 kB / 0.8231 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.729e-05/0.005017, allocations: 97.58 kB / 0.8232 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.005025, allocations: 8.125 kB / 0.8232 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.005034, allocations: 8.125 kB / 0.8232 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005041, allocations: 3.984 kB / 0.8232 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.005065, allocations: 12 kB / 0.8232 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.968e-05/0.005155, allocations: 72.94 kB / 0.8233 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.005233, allocations: 50.61 kB / 0.8233 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.005254, allocations: 24.84 kB / 0.8234 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.005268, allocations: 0 / 0.8234 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.00529, allocations: 42.5 kB / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.21e-07/0.00529, allocations: 0 / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0007898/0.00608, allocations: 463.5 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.006102, allocations: 55.41 kB / 0.8239 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.522e-05/0.006167, allocations: 130.5 kB / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.006179, allocations: 29.7 kB / 0.824 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.006203, allocations: 88.41 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.006232, allocations: 43.56 kB / 0.8242 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.006269, allocations: 41.62 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.006338, allocations: 318.8 kB / 0.8245 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.006363, allocations: 23.98 kB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.369e-05/0.006387, allocations: 24.75 kB / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.006449, allocations: 71.38 kB / 0.8246 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.006449, allocations: 4 kB / 0.8246 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 9.045e-05/0.00654, allocations: 101.6 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.00655, allocations: 4 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.006562, allocations: 7.984 kB / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.006573, allocations: 0 / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.006636, allocations: 27.94 kB / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.006639, allocations: 0 / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.006658, allocations: 11.92 kB / 0.8248 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.006664, allocations: 0 / 0.8248 GB, free: 12.24 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.264e-05/0.006717, allocations: 113.8 kB / 0.8249 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.006727, allocations: 12 kB / 0.8249 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.006839, allocations: 93.95 kB / 0.825 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.00684, allocations: 0 / 0.825 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006841, allocations: 0 / 0.825 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.006844, allocations: 0 / 0.825 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.007042, allocations: 234.7 kB / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.007044, allocations: 4 kB / 0.8252 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.318e-05/0.007107, allocations: 23.94 kB / 0.8252 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.565e-06/0.007115, allocations: 7.938 kB / 0.8252 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.007118, allocations: 4 kB / 0.8252 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.007125, allocations: 8 kB / 0.8253 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007127, allocations: 3.938 kB / 0.8253 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007128, allocations: 0 / 0.8253 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.007253, allocations: 180.2 kB / 0.8254 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.007264, allocations: 4 kB / 0.8254 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.007302, allocations: 4 kB / 0.8254 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.007316, allocations: 7.922 kB / 0.8254 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.007322, allocations: 4 kB / 0.8254 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.825e-05/0.00734, allocations: 28.83 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00734, allocations: 0 / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002113/0.007551, allocations: 107.5 kB / 0.8256 GB, free: 11.36 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.0002303/0.007781, allocations: 211.8 kB / 0.8258 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.007895, allocations: 98.95 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.007901, allocations: 4 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.007935, allocations: 36.78 kB / 0.8259 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.008083, allocations: 53.64 kB / 0.826 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.00886, allocations: 200.9 kB / 0.8262 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.009024, allocations: 63.34 kB / 0.8262 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.009063, allocations: 12.73 kB / 0.8262 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.009121, allocations: 67.36 kB / 0.8263 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of SimCode: time 5e-07/0.009121, allocations: 0 / 0.8263 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of Templates: time 0.003632/0.01275, allocations: 2.691 MB / 0.8289 GB, free: 7.91 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.12647638656199]