Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_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.001202/0.001202, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002001/0.003204, 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.001142/0.001142, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001605/0.002747, 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.147/1.147, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1345/1.281, allocations: 53.66 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.4/2.4, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2311/2.631, allocations: 145.9 MB / 0.817 GB, free: 4.219 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8184 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.008e-05/3.239e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck): time 0.002294/0.002326, allocations: 1.483 MB / 0.8198 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003499, allocations: 0.9887 MB / 0.8208 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.003554, allocations: 0 / 0.8208 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.003572, allocations: 3.938 kB / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.82e-05/0.00362, allocations: 15.91 kB / 0.8208 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.00423, allocations: 258.8 kB / 0.821 GB, free: 72 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.993e-05/0.00432, allocations: 39.8 kB / 0.8211 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.004366, allocations: 15.97 kB / 0.8211 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.004466, allocations: 28.02 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.004516, allocations: 15.88 kB / 0.8211 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.00453, allocations: 7.938 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.005131, allocations: 0.507 MB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.005147, allocations: 7.938 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.005165, allocations: 8 kB / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003262/0.005491, allocations: 287.3 kB / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-05/0.00551, allocations: 0 / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.533e-06/0.005511, allocations: 0 / 0.8219 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.937e-05/0.005531, allocations: 0 / 0.8219 GB, free: 15.16 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.0004329/0.005964, allocations: 359.5 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.005998, allocations: 12.62 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.006027, allocations: 8.922 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.512e-05/0.006123, allocations: 117.7 kB / 0.8224 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.006134, allocations: 4.375 kB / 0.8224 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.006156, allocations: 4.312 kB / 0.8224 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.555e-05/0.006242, allocations: 63.95 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.006249, allocations: 192 / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.006257, allocations: 8.125 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.006261, allocations: 0 / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.006286, allocations: 11.98 kB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.847e-05/0.006375, allocations: 61.05 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.006526, allocations: 30.61 kB / 0.8226 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.006556, allocations: 24.78 kB / 0.8226 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.006575, allocations: 0 / 0.8226 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.006597, allocations: 34.56 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006598, allocations: 0 / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0005022/0.0071, allocations: 237.5 kB / 0.8229 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.007129, allocations: 63.34 kB / 0.8229 GB, free: 14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.007195, allocations: 133.4 kB / 0.8231 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.007205, allocations: 25.7 kB / 0.8231 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.00723, allocations: 88.12 kB / 0.8232 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.007253, allocations: 27.77 kB / 0.8232 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.007286, allocations: 29.69 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.007353, allocations: 318.8 kB / 0.8235 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.007372, allocations: 15.94 kB / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.007391, allocations: 19.98 kB / 0.8236 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.304e-05/0.007434, allocations: 43.45 kB / 0.8236 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.007435, allocations: 4 kB / 0.8236 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 6.865e-05/0.007504, allocations: 73.62 kB / 0.8237 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.007516, allocations: 8 kB / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.007526, allocations: 0 / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-06/0.007535, allocations: 0 / 0.8237 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.323e-05/0.007579, allocations: 19.92 kB / 0.8237 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.007583, allocations: 3.938 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.265e-05/0.007596, allocations: 0 / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007601, allocations: 4 kB / 0.8237 GB, free: 13.16 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 4.755e-05/0.007649, allocations: 113.8 kB / 0.8238 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.007658, allocations: 7.984 kB / 0.8238 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.93e-05/0.007757, allocations: 70.06 kB / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.007759, allocations: 0 / 0.8239 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.007761, allocations: 3.938 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.007766, allocations: 3.984 kB / 0.8239 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.007974, allocations: 215.8 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.007976, allocations: 0 / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.008023, allocations: 12 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.008039, allocations: 11.94 kB / 0.8241 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.008041, allocations: 0 / 0.8241 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.008048, allocations: 11.88 kB / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.00805, allocations: 4.031 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.008052, allocations: 0 / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.008165, allocations: 160.4 kB / 0.8243 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.008175, allocations: 0 / 0.8243 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.008214, allocations: 3.938 kB / 0.8243 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.008227, allocations: 7.984 kB / 0.8243 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.008231, allocations: 0 / 0.8243 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.829e-05/0.00825, allocations: 28.83 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.00825, allocations: 0 / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002103/0.00846, allocations: 75.67 kB / 0.8244 GB, free: 12.38 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002237/0.008684, allocations: 176 kB / 0.8246 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.584e-05/0.008779, allocations: 66.48 kB / 0.8246 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.008785, allocations: 4 kB / 0.8246 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.129e-05/0.008806, allocations: 28.77 kB / 0.8247 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.008971, allocations: 8 kB / 0.8247 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000914/0.009885, allocations: 177.8 kB / 0.8248 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.009917, allocations: 63.34 kB / 0.8249 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.147e-05/0.009948, allocations: 8 kB / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.01007, allocations: 55.38 kB / 0.825 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of SimCode: time 1.423e-06/0.01007, allocations: 0 / 0.825 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.003906/0.01398, allocations: 2.339 MB / 0.8272 GB, free: 9.441 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_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.510249153710902]