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.0008307/0.0008307, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001128/0.001959, 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.0007552/0.0007552, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001765, 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 0.977/0.977, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.08, 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.647/2.647, allocations: 446.7 MB / 0.6745 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2945/2.941, allocations: 145.9 MB / 0.817 GB, free: 4.168 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.603e-06/1.603e-06, allocations: 0 / 0.8184 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.248e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.797 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001597/0.00161, allocations: 1.487 MB / 0.8198 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.002871, allocations: 0.9809 MB / 0.8208 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.002906, allocations: 0 / 0.8208 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.048e-05/0.002916, allocations: 7.938 kB / 0.8208 GB, free: 308 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.789e-05/0.002944, allocations: 11.92 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005144/0.003458, allocations: 262.8 kB / 0.821 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.947e-05/0.003548, allocations: 43.8 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.00359, allocations: 11.86 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.003666, allocations: 31.95 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.003722, allocations: 19.92 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.003734, allocations: 0 / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004878/0.004222, allocations: 427.4 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.004236, allocations: 7.938 kB / 0.8216 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.004258, allocations: 11.94 kB / 0.8216 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.004608, allocations: 283.3 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.757e-05/0.004626, allocations: 4 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004627, allocations: 0 / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.004645, allocations: 4 kB / 0.8218 GB, free: 15.2 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.0004708/0.005115, allocations: 359.5 kB / 0.8222 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.005146, allocations: 8.625 kB / 0.8222 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.005177, allocations: 4.938 kB / 0.8222 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.704e-05/0.005274, allocations: 112.6 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.005286, allocations: 4.359 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.005307, allocations: 4.375 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.816e-05/0.005405, allocations: 71.88 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005414, allocations: 192 / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-06/0.005422, allocations: 4.125 kB / 0.8224 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005427, allocations: 7.938 kB / 0.8224 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.4e-05/0.005451, allocations: 4 kB / 0.8224 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.661e-05/0.005538, allocations: 64.98 kB / 0.8225 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.005687, allocations: 42.59 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.005703, allocations: 8.859 kB / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.005725, allocations: 12.02 kB / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.005747, allocations: 30.56 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.22e-07/0.005748, allocations: 0 / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0009509/0.006698, allocations: 418.8 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.006729, allocations: 59.28 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.006795, allocations: 130.6 kB / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.006807, allocations: 25.7 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.006838, allocations: 92.12 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.006859, allocations: 19.78 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.006896, allocations: 33.69 kB / 0.8233 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.00697, allocations: 318.8 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.00699, allocations: 12 kB / 0.8236 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.036e-05/0.00701, allocations: 19.98 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.007061, allocations: 44.77 kB / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.007062, allocations: 0 / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 7.553e-05/0.007138, allocations: 72.64 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.00715, allocations: 11.92 kB / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.00716, allocations: 0 / 0.8237 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.007168, allocations: 4 kB / 0.8238 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.007224, allocations: 19.98 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.007228, allocations: 3.938 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.007248, allocations: 4 kB / 0.8238 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.007254, allocations: 4 kB / 0.8238 GB, free: 13.01 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 5.418e-05/0.007308, allocations: 109.8 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-06/0.007316, allocations: 4 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.287e-05/0.007399, allocations: 62.38 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-06/0.0074, allocations: 0 / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.007404, allocations: 7.922 kB / 0.824 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007408, allocations: 3.984 kB / 0.824 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.007601, allocations: 215.7 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007602, allocations: 4.031 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.00765, allocations: 23.86 kB / 0.8242 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.007666, allocations: 11.94 kB / 0.8242 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007668, allocations: 0 / 0.8242 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.007678, allocations: 12.12 kB / 0.8242 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.00768, allocations: 4 kB / 0.8242 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.007681, allocations: 0 / 0.8242 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.007798, allocations: 156.4 kB / 0.8244 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.00781, allocations: 4 kB / 0.8244 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.007849, allocations: 3.938 kB / 0.8244 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.007865, allocations: 19.95 kB / 0.8244 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.007869, allocations: 0 / 0.8244 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.578e-05/0.007885, allocations: 20.83 kB / 0.8244 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007885, allocations: 0 / 0.8244 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001707/0.008056, allocations: 51.81 kB / 0.8245 GB, free: 12.24 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.0001644/0.00822, allocations: 148.2 kB / 0.8246 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.877e-05/0.008319, allocations: 66.55 kB / 0.8247 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.008325, allocations: 7.938 kB / 0.8247 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.008345, allocations: 20.83 kB / 0.8247 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.008488, allocations: 20 kB / 0.8247 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.009209, allocations: 191.6 kB / 0.8249 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.09e-05/0.009239, allocations: 59.34 kB / 0.825 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.009266, allocations: 8 kB / 0.825 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.009323, allocations: 63.36 kB / 0.825 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.009324, allocations: 0 / 0.825 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.003652/0.01298, allocations: 2.106 MB / 0.8271 GB, free: 9.508 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.542053212411702]