Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.0007666/0.0007666, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001145/0.001912, allocations: 440 kB / 10.41 MB, free: 280 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.0007119/0.0007119, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001741, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9131/0.9131, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07745/0.9906, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.369/2.369, allocations: 447.1 MB / 0.675 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.222/2.591, allocations: 146 MB / 0.8176 GB, free: 3.84 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.642e-05, allocations: 2.312 kB / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002507/0.002524, allocations: 1.474 MB / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.003903, allocations: 0.9926 MB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.003941, allocations: 0 / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.003953, allocations: 7.938 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.003989, allocations: 7.922 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.004646, allocations: 262.7 kB / 0.8217 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.004754, allocations: 47.78 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.0048, allocations: 7.984 kB / 0.8217 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.396e-05/0.004894, allocations: 27.92 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.004964, allocations: 19.97 kB / 0.8218 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.004981, allocations: 4 kB / 0.8218 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007173/0.005698, allocations: 427.3 kB / 0.8222 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.00572, allocations: 7.938 kB / 0.8222 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.005743, allocations: 8 kB / 0.8222 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.006207, allocations: 295.2 kB / 0.8225 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.006221, allocations: 0 / 0.8225 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.162e-06/0.006222, allocations: 0 / 0.8225 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.006239, allocations: 4 kB / 0.8225 GB, free: 14.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005881/0.006827, allocations: 347.6 kB / 0.8228 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.006873, allocations: 16.02 kB / 0.8228 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.006918, allocations: 0.9375 kB / 0.8228 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.007039, allocations: 113.7 kB / 0.8229 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.007053, allocations: 4.375 kB / 0.8229 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.007081, allocations: 4.312 kB / 0.8229 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.007193, allocations: 67.95 kB / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.007203, allocations: 192 / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.007212, allocations: 4.125 kB / 0.823 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.007219, allocations: 4 kB / 0.823 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.866e-05/0.007247, allocations: 7.984 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.00736, allocations: 64.98 kB / 0.8231 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.007532, allocations: 34.61 kB / 0.8231 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.007557, allocations: 24.77 kB / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.007573, allocations: 0 / 0.8231 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.0076, allocations: 34.56 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.007601, allocations: 0 / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.001127/0.008729, allocations: 422.9 kB / 0.8236 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.008757, allocations: 59.28 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.108e-05/0.008838, allocations: 132.4 kB / 0.8238 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.008854, allocations: 29.7 kB / 0.8238 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.008886, allocations: 88.12 kB / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.008912, allocations: 15.8 kB / 0.8239 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.008959, allocations: 33.69 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.009047, allocations: 326.8 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.009073, allocations: 12 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.009098, allocations: 12 kB / 0.8243 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.596e-05/0.009164, allocations: 55.42 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.009165, allocations: 0 / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001054/0.00927, allocations: 77.62 kB / 0.8244 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.009284, allocations: 4 kB / 0.8244 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.009297, allocations: 0 / 0.8244 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.00931, allocations: 0 / 0.8244 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.009381, allocations: 19.98 kB / 0.8244 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.009387, allocations: 3.938 kB / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.009414, allocations: 4 kB / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.009422, allocations: 3.984 kB / 0.8244 GB, free: 12.66 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 (8): * Single equations (assignments): 7 * 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 6.121e-05/0.009483, allocations: 113.8 kB / 0.8245 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.009496, allocations: 4 kB / 0.8245 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.009602, allocations: 62.05 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.009604, allocations: 0 / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.009607, allocations: 3.938 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.00961, allocations: 0 / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.00986, allocations: 219.6 kB / 0.8248 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.009861, allocations: 4.031 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.009927, allocations: 19.98 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.009947, allocations: 7.953 kB / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.00995, allocations: 0 / 0.8248 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.00996, allocations: 7.938 kB / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.009964, allocations: 3.984 kB / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.009965, allocations: 192 / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.01011, allocations: 164.4 kB / 0.825 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01012, allocations: 7.938 kB / 0.825 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.01019, allocations: 7.938 kB / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.01021, allocations: 7.984 kB / 0.825 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-06/0.01021, allocations: 4.031 kB / 0.825 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.624e-05/0.01023, allocations: 16.84 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01023, allocations: 0 / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001622/0.01039, allocations: 55.81 kB / 0.8251 GB, free: 11.89 MB / 0.8073 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.000169/0.01056, allocations: 144.1 kB / 0.8252 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.765e-05/0.01065, allocations: 70.53 kB / 0.8253 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.01066, allocations: 4 kB / 0.8253 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.46e-05/0.01068, allocations: 24.78 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.01084, allocations: 49.73 kB / 0.8254 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007059/0.01154, allocations: 185.7 kB / 0.8255 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.316e-05/0.01158, allocations: 59.34 kB / 0.8256 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.01161, allocations: 15.94 kB / 0.8256 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.01166, allocations: 59.36 kB / 0.8257 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.01166, allocations: 0 / 0.8257 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of Templates: time 0.002964/0.01463, allocations: 1.804 MB / 0.8274 GB, free: 9.438 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.9971212185919285]