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.00575/0.00575, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 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.00329/0.00329, allocations: 222.3 kB / 22.25 MB, free: 3.57 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.652/1.652, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 178] 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 4.085/4.085, allocations: 0.5708 GB / 0.8759 GB, free: 16.35 MB / 0.6667 GB " [Timeout remaining time 175] 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 0.003752/0.003752, allocations: 74.16 kB / 1.276 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4816/0.4854, allocations: 196.8 MB / 1.468 GB, free: 2.562 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck): time 0.003047/0.4884, allocations: 1.388 MB / 1.469 GB, free: 1.156 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.4902, allocations: 0.9247 MB / 1.47 GB, free: 232 kB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.4903, allocations: 3.938 kB / 1.47 GB, free: 228 kB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.4903, allocations: 3.938 kB / 1.47 GB, free: 224 kB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.4904, allocations: 7.938 kB / 1.47 GB, free: 216 kB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.4912, allocations: 282.8 kB / 1.47 GB, free: 15.93 MB / 1.151 GB Notification: Performance of NFFlatten.flatten: time 9.875e-05/0.4913, allocations: 39.86 kB / 1.47 GB, free: 15.89 MB / 1.151 GB Notification: Performance of NFFlatten.resolveConnections: time 5.683e-05/0.4914, allocations: 11.94 kB / 1.47 GB, free: 15.88 MB / 1.151 GB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.4915, allocations: 19.91 kB / 1.47 GB, free: 15.86 MB / 1.151 GB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.4915, allocations: 23.86 kB / 1.47 GB, free: 15.84 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.4915, allocations: 4 kB / 1.47 GB, free: 15.84 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008639/0.4924, allocations: 491.3 kB / 1.471 GB, free: 15.36 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.4924, allocations: 8 kB / 1.471 GB, free: 15.35 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.4925, allocations: 23.84 kB / 1.471 GB, free: 15.32 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.493, allocations: 287.3 kB / 1.471 GB, free: 15.04 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.493, allocations: 0 / 1.471 GB, free: 15.04 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.874e-06/0.493, allocations: 7.938 kB / 1.471 GB, free: 15.04 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.493, allocations: 3.938 kB / 1.471 GB, free: 15.03 MB / 1.151 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.0005958/0.4936, allocations: 353.2 kB / 1.472 GB, free: 14.66 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4936, allocations: 15.98 kB / 1.472 GB, free: 14.64 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.4937, allocations: 4.938 kB / 1.472 GB, free: 14.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.4938, allocations: 114.5 kB / 1.472 GB, free: 14.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4938, allocations: 8.375 kB / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.4939, allocations: 384 / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.494, allocations: 75.5 kB / 1.472 GB, free: 14.41 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.494, allocations: 0 / 1.472 GB, free: 14.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4941, allocations: 0 / 1.472 GB, free: 14.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4941, allocations: 0 / 1.472 GB, free: 14.41 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/0.4941, allocations: 11.98 kB / 1.472 GB, free: 14.39 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.4943, allocations: 129.2 kB / 1.472 GB, free: 14.24 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.4945, allocations: 46.56 kB / 1.472 GB, free: 14.18 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.4946, allocations: 16.86 kB / 1.472 GB, free: 14.16 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.4946, allocations: 0 / 1.472 GB, free: 14.16 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.4946, allocations: 38.64 kB / 1.472 GB, free: 14.12 MB / 1.151 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.4946, allocations: 0 / 1.472 GB, free: 14.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=6): time 0.00108/0.4957, allocations: 265.1 kB / 1.472 GB, free: 13.82 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.4958, allocations: 55.34 kB / 1.472 GB, free: 13.76 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.4959, allocations: 128 kB / 1.472 GB, free: 13.62 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.4959, allocations: 29.7 kB / 1.472 GB, free: 13.59 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.496, allocations: 88.09 kB / 1.473 GB, free: 13.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.496, allocations: 23.84 kB / 1.473 GB, free: 13.48 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.4961, allocations: 29.66 kB / 1.473 GB, free: 13.44 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.4963, allocations: 322.8 kB / 1.473 GB, free: 13.12 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.4963, allocations: 35.92 kB / 1.473 GB, free: 13.08 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.705e-05/0.4964, allocations: 32 kB / 1.473 GB, free: 13.05 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.4965, allocations: 79.17 kB / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4965, allocations: 3.938 kB / 1.473 GB, free: 12.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000193/0.4967, allocations: 113.6 kB / 1.473 GB, free: 12.85 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4967, allocations: 13.81 kB / 1.473 GB, free: 12.84 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4967, allocations: 4 kB / 1.473 GB, free: 12.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.4968, allocations: 7.984 kB / 1.473 GB, free: 12.83 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.4968, allocations: 8 kB / 1.473 GB, free: 12.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4968, allocations: 0 / 1.473 GB, free: 12.82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.4969, allocations: 4 kB / 1.473 GB, free: 12.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4969, allocations: 0 / 1.473 GB, free: 12.82 MB / 1.151 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 0.0001046/0.497, allocations: 117.8 kB / 1.473 GB, free: 12.69 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.497, allocations: 11.89 kB / 1.473 GB, free: 12.68 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.4972, allocations: 94.05 kB / 1.473 GB, free: 12.58 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4972, allocations: 0 / 1.473 GB, free: 12.58 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4972, allocations: 4 kB / 1.473 GB, free: 12.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4972, allocations: 0 / 1.473 GB, free: 12.57 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.4976, allocations: 279 kB / 1.474 GB, free: 12.26 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4976, allocations: 3.938 kB / 1.474 GB, free: 12.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.4977, allocations: 12 kB / 1.474 GB, free: 12.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4977, allocations: 336 / 1.474 GB, free: 12.25 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4977, allocations: 4 kB / 1.474 GB, free: 12.24 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.4977, allocations: 4 kB / 1.474 GB, free: 12.24 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4977, allocations: 0 / 1.474 GB, free: 12.24 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.498, allocations: 192.3 kB / 1.474 GB, free: 12.03 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.498, allocations: 24.05 kB / 1.474 GB, free: 12.01 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.498, allocations: 0 / 1.474 GB, free: 12.01 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.4981, allocations: 0 / 1.474 GB, free: 12.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.4981, allocations: 7.938 kB / 1.474 GB, free: 12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4981, allocations: 4 kB / 1.474 GB, free: 12 MB / 1.151 GB Notification: Performance of sorting global known variables: time 7.029e-05/0.4982, allocations: 94.02 kB / 1.474 GB, free: 11.91 MB / 1.151 GB Notification: Performance of sort global known variables: time 6e-08/0.4982, allocations: 0 / 1.474 GB, free: 11.91 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003284/0.4985, allocations: 67.73 kB / 1.474 GB, free: 11.84 MB / 1.151 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.0003198/0.4989, allocations: 159 kB / 1.474 GB, free: 11.68 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.4991, allocations: 101.5 kB / 1.474 GB, free: 11.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4991, allocations: 0 / 1.474 GB, free: 11.57 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.087e-05/0.4991, allocations: 16 kB / 1.474 GB, free: 11.55 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.4994, allocations: 16.88 kB / 1.474 GB, free: 11.54 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.4999, allocations: 228.9 kB / 1.475 GB, free: 11.29 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.582e-05/0.5, allocations: 75.33 kB / 1.475 GB, free: 11.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 4.038e-05/0.5001, allocations: 11.97 kB / 1.475 GB, free: 11.18 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.5001, allocations: 15.44 kB / 1.475 GB, free: 11.17 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/0.5001, allocations: 0 / 1.475 GB, free: 11.17 MB / 1.151 GB Notification: Performance of Templates: time 0.005526/0.5056, allocations: 1.852 MB / 1.476 GB, free: 9.363 MB / 1.151 GB " [Timeout remaining time 299] 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 -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: 11.111908048158512]