Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.001046/0.001046, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002668, 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.001062/0.001062, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002496, 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.9582/0.9582, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09264/1.051, 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.39/2.39, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2268/2.617, allocations: 146 MB / 0.8176 GB, free: 3.82 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.538e-06/1.096e-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.PowerLaw_m_flow_DerivativeCheck2): time 0.001603/0.001614, allocations: 1.509 MB / 0.8205 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.002528, allocations: 0.977 MB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.002554, allocations: 4 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.338e-06/0.002563, allocations: 3.938 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.599e-05/0.002589, allocations: 7.922 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.002978, allocations: 266.7 kB / 0.8217 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.003055, allocations: 59.7 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.473e-05/0.00309, allocations: 11.97 kB / 0.8217 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.003153, allocations: 31.97 kB / 0.8218 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.003207, allocations: 23.91 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.003218, allocations: 4 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.003667, allocations: 435.3 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.003684, allocations: 11.94 kB / 0.8222 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.831e-05/0.003703, allocations: 12 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.004007, allocations: 303.1 kB / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.004017, allocations: 0 / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004018, allocations: 0 / 0.8225 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.004031, allocations: 0 / 0.8225 GB, free: 14.77 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.0004075/0.004438, allocations: 355.6 kB / 0.8229 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.004468, allocations: 8.031 kB / 0.8229 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.004501, allocations: 12.86 kB / 0.8229 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.484e-05/0.004586, allocations: 117.6 kB / 0.823 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.004598, allocations: 12.38 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.00462, allocations: 4.375 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.92e-05/0.004709, allocations: 97.64 kB / 0.8231 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004717, allocations: 192 / 0.8231 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.004724, allocations: 4.125 kB / 0.8231 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.004731, allocations: 4 kB / 0.8231 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.434e-05/0.004755, allocations: 7.984 kB / 0.8231 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.704e-05/0.004842, allocations: 80.92 kB / 0.8232 GB, free: 14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.411e-05/0.004917, allocations: 46.5 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.004939, allocations: 21.08 kB / 0.8233 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.004955, allocations: 8 kB / 0.8233 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.004975, allocations: 30.56 kB / 0.8233 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 5.61e-07/0.004976, allocations: 0 / 0.8233 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.001774/0.00675, allocations: 0.7463 MB / 0.824 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.00678, allocations: 55.41 kB / 0.8241 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.006856, allocations: 134.6 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.006872, allocations: 25.7 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.006902, allocations: 84.41 kB / 0.8243 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.006939, allocations: 47.56 kB / 0.8244 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.006986, allocations: 45.67 kB / 0.8244 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.539e-05/0.007071, allocations: 314.8 kB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.58e-05/0.007107, allocations: 31.92 kB / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.644e-05/0.007143, allocations: 30.23 kB / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.462e-05/0.007228, allocations: 79.19 kB / 0.8248 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007229, allocations: 4 kB / 0.8248 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001314/0.007361, allocations: 113.6 kB / 0.825 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.007375, allocations: 4 kB / 0.825 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.007389, allocations: 4.781 kB / 0.825 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.0074, allocations: 0 / 0.825 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.007509, allocations: 35.91 kB / 0.825 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.007511, allocations: 0 / 0.825 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.007553, allocations: 11.92 kB / 0.825 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.007562, allocations: 4 kB / 0.825 GB, free: 11.99 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.321e-05/0.007615, allocations: 113.8 kB / 0.8251 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.00763, allocations: 11.98 kB / 0.8251 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.007755, allocations: 97.95 kB / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.007756, allocations: 0 / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.007758, allocations: 0 / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00776, allocations: 0 / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.007982, allocations: 243.4 kB / 0.8255 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007983, allocations: 4 kB / 0.8255 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.008085, allocations: 39.89 kB / 0.8255 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.008094, allocations: 11.94 kB / 0.8255 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.008096, allocations: 0 / 0.8255 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008104, allocations: 4 kB / 0.8255 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.008107, allocations: 11.92 kB / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.008108, allocations: 4 kB / 0.8255 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.008279, allocations: 211.5 kB / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.008292, allocations: 0 / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.008353, allocations: 11.98 kB / 0.8257 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.008372, allocations: 11.92 kB / 0.8258 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.008378, allocations: 0 / 0.8258 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.578e-05/0.008394, allocations: 20.84 kB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008394, allocations: 0 / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001738/0.008568, allocations: 67.83 kB / 0.8258 GB, free: 11.09 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.000163/0.008731, allocations: 144.1 kB / 0.826 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.008867, allocations: 118.4 kB / 0.8261 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.008873, allocations: 4 kB / 0.8261 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.008918, allocations: 40.78 kB / 0.8261 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.009074, allocations: 49.69 kB / 0.8262 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.01028, allocations: 272.7 kB / 0.8264 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.534e-05/0.01031, allocations: 67.34 kB / 0.8265 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.829e-05/0.01037, allocations: 12.73 kB / 0.8265 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.01046, allocations: 75.34 kB / 0.8266 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.01046, allocations: 0 / 0.8266 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of Templates: time 0.00331/0.01377, allocations: 2.172 MB / 0.8287 GB, free: 8.117 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.052996147423983]