Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0007939/0.0007939, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.001958, 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.0008219/0.0008219, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.001923, 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.136/1.136, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1174/1.253, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.423/2.423, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2994/2.723, allocations: 145.9 MB / 0.817 GB, free: 4.199 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_inv_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_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_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_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.8184 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.463e-05, allocations: 8.078 kB / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2): time 0.002619/0.002643, allocations: 1.497 MB / 0.8198 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.004034, allocations: 0.9925 MB / 0.8208 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.004076, allocations: 4 kB / 0.8208 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.004091, allocations: 3.938 kB / 0.8208 GB, free: 312 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.265e-05/0.004134, allocations: 3.938 kB / 0.8208 GB, free: 308 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007406/0.004874, allocations: 266.8 kB / 0.8211 GB, free: 40 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.004999, allocations: 55.83 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.005041, allocations: 11.86 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.00513, allocations: 35.91 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.005199, allocations: 15.97 kB / 0.8212 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.005215, allocations: 4 kB / 0.8212 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007806/0.005996, allocations: 0.5148 MB / 0.8217 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.006012, allocations: 4 kB / 0.8217 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.006039, allocations: 15.94 kB / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004521/0.006491, allocations: 291.3 kB / 0.822 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-05/0.006512, allocations: 4 kB / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.363e-06/0.006513, allocations: 0 / 0.822 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.036e-05/0.006533, allocations: 0 / 0.822 GB, free: 15.09 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.0005345/0.007068, allocations: 367.5 kB / 0.8223 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.007111, allocations: 8.625 kB / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.007151, allocations: 4.938 kB / 0.8223 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.00726, allocations: 121.7 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.007277, allocations: 12.31 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/0.007309, allocations: 4.375 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.007429, allocations: 93.66 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.00744, allocations: 192 / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.007451, allocations: 12.11 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.007457, allocations: 0 / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.007496, allocations: 11.98 kB / 0.8226 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.007687, allocations: 76.94 kB / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.007792, allocations: 50.56 kB / 0.8227 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.007815, allocations: 20.84 kB / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.007838, allocations: 0 / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.007861, allocations: 34.56 kB / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.007862, allocations: 0 / 0.8228 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0009134/0.008776, allocations: 472.3 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.008807, allocations: 55.34 kB / 0.8233 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.008881, allocations: 126.6 kB / 0.8234 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.008892, allocations: 25.7 kB / 0.8234 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.008923, allocations: 96.39 kB / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.008956, allocations: 47.56 kB / 0.8235 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.008996, allocations: 33.7 kB / 0.8236 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.00907, allocations: 318.8 kB / 0.8239 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.009097, allocations: 23.98 kB / 0.8239 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.009122, allocations: 20 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.199e-05/0.009194, allocations: 71 kB / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.009195, allocations: 0 / 0.824 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001017/0.009297, allocations: 104.2 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.009312, allocations: 8 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.009326, allocations: 0 / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.009335, allocations: 4 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.009417, allocations: 27.98 kB / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.00942, allocations: 4 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.00944, allocations: 3.938 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.009446, allocations: 0 / 0.8241 GB, free: 12.67 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 6.362e-05/0.00951, allocations: 121.8 kB / 0.8243 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.009521, allocations: 8 kB / 0.8243 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.009644, allocations: 86.58 kB / 0.8243 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.009646, allocations: 0 / 0.8243 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.009648, allocations: 0 / 0.8243 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.009653, allocations: 12 kB / 0.8244 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.009882, allocations: 238.7 kB / 0.8246 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.009883, allocations: 0 / 0.8246 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.009951, allocations: 23.98 kB / 0.8246 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.009961, allocations: 11.95 kB / 0.8246 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.009963, allocations: 0 / 0.8246 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.009971, allocations: 4 kB / 0.8246 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.009973, allocations: 7.922 kB / 0.8246 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009974, allocations: 0 / 0.8246 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.01011, allocations: 188.5 kB / 0.8248 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.01012, allocations: 8 kB / 0.8248 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.01016, allocations: 4.031 kB / 0.8248 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.01018, allocations: 11.92 kB / 0.8248 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.01018, allocations: 4 kB / 0.8248 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.379e-05/0.0102, allocations: 16.84 kB / 0.8249 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.0102, allocations: 0 / 0.8249 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002459/0.01044, allocations: 107.5 kB / 0.825 GB, free: 11.77 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.0002662/0.01071, allocations: 207.8 kB / 0.8252 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.01083, allocations: 102.4 kB / 0.8252 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.01084, allocations: 4 kB / 0.8253 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.01086, allocations: 28.8 kB / 0.8253 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.01102, allocations: 23.98 kB / 0.8253 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.01203, allocations: 204.7 kB / 0.8255 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.235e-05/0.01207, allocations: 67.34 kB / 0.8256 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.01212, allocations: 20.72 kB / 0.8256 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.01218, allocations: 71.36 kB / 0.8257 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.01218, allocations: 0 / 0.8257 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of Templates: time 0.004249/0.01643, allocations: 2.98 MB / 0.8286 GB, free: 8.062 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.4537547547370195]