Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001302/0.001302, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001469/0.001469, allocations: 214.1 kB / 22.99 MB, free: 4.941 MB / 14.72 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.359/3.359, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 71.08 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3637, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002618/0.3663, allocations: 0.9934 MB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.368, allocations: 1.034 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.3681, allocations: 4 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.3683, allocations: 19.73 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.044e-05/0.3684, allocations: 15.81 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.3688, allocations: 83.78 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.369, allocations: 176 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.3692, allocations: 56.41 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.3693, allocations: 79.7 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3694, allocations: 71.61 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.3695, allocations: 16 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.238e-05/0.3695, allocations: 16 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.3696, allocations: 39.91 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.834e-05/0.3697, allocations: 67.64 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.37, allocations: 191.1 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.37, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.37, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.37, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009114/0.3709, allocations: 434.3 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3709, allocations: 8.031 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.371, allocations: 20.8 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.3714, allocations: 167.7 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.3714, allocations: 16.38 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.3714, allocations: 12.38 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.3718, allocations: 187.3 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3718, allocations: 0 / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.3718, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3718, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3721, allocations: 107.9 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3732, allocations: 439.9 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.3736, allocations: 126.8 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.3738, allocations: 84.67 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.3738, allocations: 3.984 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.3741, allocations: 146.4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.3741, allocations: 7.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0005731/0.3746, allocations: 223.3 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.3747, allocations: 55.41 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3748, allocations: 147.2 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.3749, allocations: 33.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.375, allocations: 120.4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.375, allocations: 63.42 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.3751, allocations: 45.69 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3752, allocations: 334.8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.3755, allocations: 67.97 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.3757, allocations: 91.28 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.3761, allocations: 139.3 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3761, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004996/0.3766, allocations: 219.1 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3766, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3766, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.3766, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.3768, allocations: 39.91 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3768, allocations: 3.984 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.377, allocations: 31.86 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.377, allocations: 8.031 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 0.00012/0.3771, allocations: 129.8 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.3771, allocations: 11.91 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.3776, allocations: 190.7 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3776, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3776, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3776, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008411/0.3784, allocations: 0.5067 MB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3784, allocations: 4 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.3786, allocations: 39.92 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3786, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.3786, allocations: 12.11 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3786, allocations: 8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3786, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.3793, allocations: 383.6 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.3793, allocations: 23.72 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.3793, allocations: 12.03 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3795, allocations: 11.98 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.3795, allocations: 23.97 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3796, allocations: 12 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.641e-05/0.3796, allocations: 109.5 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3796, allocations: 0 / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002825/0.3799, allocations: 31.95 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001477/0.3801, allocations: 119.2 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004475/0.3805, allocations: 155.8 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3805, allocations: 0 / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.3807, allocations: 79.91 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.3811, allocations: 31.92 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/0.3818, allocations: 408.8 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.3819, allocations: 116.2 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.399e-05/0.382, allocations: 15.44 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.382, allocations: 0 / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of Templates: time 0.003918/0.3859, allocations: 1.982 MB / 1.337 GB, free: 6.871 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",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.257543396670371]