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.002442/0.002442, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002722/0.002722, allocations: 214.3 kB / 22.25 MB, free: 3.574 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.7/1.7, allocations: 230.6 MB / 256 MB, free: 9.621 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 3.984/3.984, allocations: 0.5708 GB / 0.8759 GB, free: 16.37 MB / 0.6667 GB " [Timeout remaining time 176] 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 0.003739/0.003739, allocations: 69.98 kB / 1.276 GB, free: 13.2 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4874, allocations: 196.8 MB / 1.468 GB, free: 2.613 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_inv_DerivativeCheck2): time 0.002789/0.4902, allocations: 1.403 MB / 1.469 GB, free: 1.191 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.4919, allocations: 0.9247 MB / 1.47 GB, free: 268 kB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.492, allocations: 0 / 1.47 GB, free: 268 kB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.492, allocations: 3.938 kB / 1.47 GB, free: 264 kB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 6.365e-05/0.492, allocations: 15.91 kB / 1.47 GB, free: 248 kB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/0.4929, allocations: 286.9 kB / 1.47 GB, free: 15.96 MB / 1.151 GB Notification: Performance of NFFlatten.flatten: time 9.689e-05/0.493, allocations: 51.78 kB / 1.47 GB, free: 15.91 MB / 1.151 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.493, allocations: 7.922 kB / 1.47 GB, free: 15.9 MB / 1.151 GB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.4931, allocations: 23.92 kB / 1.47 GB, free: 15.88 MB / 1.151 GB Notification: Performance of NFSimplifyModel.simplify: time 6.911e-05/0.4931, allocations: 31.78 kB / 1.47 GB, free: 15.85 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.4931, allocations: 0 / 1.47 GB, free: 15.85 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008301/0.494, allocations: 495.3 kB / 1.471 GB, free: 15.36 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.494, allocations: 23.91 kB / 1.471 GB, free: 15.34 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.494, allocations: 19.92 kB / 1.471 GB, free: 15.32 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.0007676/0.4948, allocations: 295.2 kB / 1.471 GB, free: 15.03 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4948, allocations: 0 / 1.471 GB, free: 15.03 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4948, allocations: 0 / 1.471 GB, free: 15.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4948, allocations: 0 / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005753/0.4954, allocations: 365.2 kB / 1.472 GB, free: 14.64 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4954, allocations: 11.98 kB / 1.472 GB, free: 14.63 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.4955, allocations: 8.891 kB / 1.472 GB, free: 14.62 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.4956, allocations: 114.5 kB / 1.472 GB, free: 14.49 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.4956, allocations: 8.375 kB / 1.472 GB, free: 14.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.4957, allocations: 8.312 kB / 1.472 GB, free: 14.47 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.4958, allocations: 101.2 kB / 1.472 GB, free: 14.36 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4958, allocations: 4 kB / 1.472 GB, free: 14.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.4959, allocations: 4 kB / 1.472 GB, free: 14.35 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4959, allocations: 0 / 1.472 GB, free: 14.35 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.4959, allocations: 19.98 kB / 1.472 GB, free: 14.33 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.4961, allocations: 125.3 kB / 1.472 GB, free: 14.18 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.4963, allocations: 62.48 kB / 1.472 GB, free: 14.11 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.4963, allocations: 24.86 kB / 1.472 GB, free: 14.08 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.4963, allocations: 8.234 kB / 1.472 GB, free: 14.07 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.4964, allocations: 34.55 kB / 1.472 GB, free: 14.03 MB / 1.151 GB Notification: Performance of pre-optimization done (n=7): time 3.076e-06/0.4964, allocations: 3.984 kB / 1.472 GB, free: 14.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.001312/0.4977, allocations: 0.4954 MB / 1.473 GB, free: 13.47 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.4977, allocations: 51.41 kB / 1.473 GB, free: 13.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.4979, allocations: 133.8 kB / 1.473 GB, free: 13.27 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.4979, allocations: 25.7 kB / 1.473 GB, free: 13.24 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.4979, allocations: 84.42 kB / 1.473 GB, free: 13.15 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.498, allocations: 51.62 kB / 1.473 GB, free: 13.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.4981, allocations: 37.7 kB / 1.473 GB, free: 13.05 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.4982, allocations: 318.8 kB / 1.473 GB, free: 12.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.4983, allocations: 47.98 kB / 1.473 GB, free: 12.69 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.742e-05/0.4984, allocations: 58.14 kB / 1.473 GB, free: 12.63 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.4986, allocations: 126.7 kB / 1.474 GB, free: 12.51 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4986, allocations: 0 / 1.474 GB, free: 12.51 MB / 1.151 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002705/0.4989, allocations: 169.6 kB / 1.474 GB, free: 12.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4989, allocations: 4 kB / 1.474 GB, free: 12.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4989, allocations: 4 kB / 1.474 GB, free: 12.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4989, allocations: 4 kB / 1.474 GB, free: 12.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.499, allocations: 23.98 kB / 1.474 GB, free: 12.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.499, allocations: 7.922 kB / 1.474 GB, free: 12.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.4991, allocations: 0 / 1.474 GB, free: 12.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.4991, allocations: 8 kB / 1.474 GB, free: 12.29 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 (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 0.0001044/0.4992, allocations: 117.8 kB / 1.474 GB, free: 12.16 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.4992, allocations: 11.89 kB / 1.474 GB, free: 12.15 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.4995, allocations: 122 kB / 1.474 GB, free: 12.02 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4995, allocations: 4 kB / 1.474 GB, free: 12.02 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4995, allocations: 3.938 kB / 1.474 GB, free: 12.01 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4995, allocations: 7.984 kB / 1.474 GB, free: 12 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.5, allocations: 310.1 kB / 1.474 GB, free: 11.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5, allocations: 0 / 1.474 GB, free: 11.66 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.5001, allocations: 23.98 kB / 1.474 GB, free: 11.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5001, allocations: 0 / 1.474 GB, free: 11.64 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.5001, allocations: 7.938 kB / 1.474 GB, free: 11.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.5001, allocations: 4 kB / 1.474 GB, free: 11.63 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5001, allocations: 0 / 1.474 GB, free: 11.63 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.5004, allocations: 230.1 kB / 1.475 GB, free: 11.39 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.5005, allocations: 7.953 kB / 1.475 GB, free: 11.38 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.5005, allocations: 7.984 kB / 1.475 GB, free: 11.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.5006, allocations: 8.062 kB / 1.475 GB, free: 11.37 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.5006, allocations: 11.92 kB / 1.475 GB, free: 11.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.5006, allocations: 8 kB / 1.475 GB, free: 11.35 MB / 1.151 GB Notification: Performance of sorting global known variables: time 6.535e-05/0.5007, allocations: 91.27 kB / 1.475 GB, free: 11.26 MB / 1.151 GB Notification: Performance of sort global known variables: time 6e-08/0.5007, allocations: 0 / 1.475 GB, free: 11.26 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003825/0.5011, allocations: 99.55 kB / 1.475 GB, free: 11.16 MB / 1.151 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.0003717/0.5014, allocations: 198.7 kB / 1.475 GB, free: 10.96 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.5017, allocations: 122.8 kB / 1.475 GB, free: 10.83 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5017, allocations: 0 / 1.475 GB, free: 10.83 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.5018, allocations: 43.92 kB / 1.475 GB, free: 10.79 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.502, allocations: 12.55 kB / 1.475 GB, free: 10.78 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.5027, allocations: 318 kB / 1.475 GB, free: 10.44 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.851e-05/0.5028, allocations: 87.33 kB / 1.475 GB, free: 10.33 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.5028, allocations: 20.66 kB / 1.476 GB, free: 10.31 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.5029, allocations: 19.38 kB / 1.476 GB, free: 10.29 MB / 1.151 GB Notification: Performance of SimCode: time 3.4e-07/0.5029, allocations: 0 / 1.476 GB, free: 10.29 MB / 1.151 GB Notification: Performance of Templates: time 0.006519/0.5094, allocations: 2.436 MB / 1.478 GB, free: 7.906 MB / 1.151 GB " [Timeout remaining time 299] 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 -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: 11.088372621219605]