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.001776/0.001776, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002161/0.002161, allocations: 213.5 kB / 22.99 MB, free: 4.984 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.224/3.224, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.002136/0.002136, allocations: 62.16 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3879, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002378/0.3903, allocations: 1.005 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3918, allocations: 1.034 MB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.3919, allocations: 4 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.392, allocations: 23.73 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.437e-05/0.3921, allocations: 27.73 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.3925, allocations: 73.61 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.3927, allocations: 180 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3929, allocations: 60.39 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.393, allocations: 71.78 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3931, allocations: 83.59 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.3931, allocations: 16 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.873e-05/0.3932, allocations: 20 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.3932, allocations: 39.91 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.3933, allocations: 63.66 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.3936, allocations: 187.1 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3936, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3936, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3936, allocations: 0 / 1.33 GB, free: 14.04 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.0008854/0.3945, allocations: 427.6 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3945, allocations: 12.03 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.3946, allocations: 28.78 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.3949, allocations: 168.1 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3949, allocations: 12.38 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.395, allocations: 28.25 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.3954, allocations: 175.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3954, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.3954, allocations: 8 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.3954, allocations: 4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.3957, allocations: 107.9 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.3968, allocations: 431.9 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.3972, allocations: 144.1 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3974, allocations: 84.75 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.3974, allocations: 4 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.3976, allocations: 141 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.3977, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0005751/0.3982, allocations: 231.1 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3983, allocations: 59.41 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3984, allocations: 139.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3984, allocations: 29.7 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.3985, allocations: 124.4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.3986, allocations: 67.44 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.3987, allocations: 37.7 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3988, allocations: 322.8 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.399, allocations: 67.95 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3993, allocations: 92.31 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.3996, allocations: 147.4 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3996, allocations: 0 / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005114/0.4002, allocations: 209.5 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4002, allocations: 4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4002, allocations: 8.031 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4002, allocations: 3.938 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.4004, allocations: 35.97 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.4004, allocations: 4 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.4006, allocations: 23.88 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.4006, allocations: 8 kB / 1.333 GB, free: 10.53 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.0001325/0.4007, allocations: 129.7 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.4007, allocations: 15.91 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.4012, allocations: 192.1 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4012, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.4012, allocations: 4 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4012, allocations: 3.938 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000869/0.4021, allocations: 0.5106 MB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4021, allocations: 0 / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.4023, allocations: 43.84 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.4023, allocations: 8 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.4023, allocations: 7.938 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.4023, allocations: 4 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.4023, allocations: 7.938 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.4029, allocations: 379.3 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.403, allocations: 23.78 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.403, allocations: 4 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.4032, allocations: 20.03 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.4032, allocations: 27.89 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.4033, allocations: 4 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.591e-05/0.4033, allocations: 109 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4033, allocations: 0 / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002849/0.4036, allocations: 39.95 kB / 1.335 GB, free: 8.914 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.0001653/0.4038, allocations: 111.2 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.4042, allocations: 153.9 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4042, allocations: 0 / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.4045, allocations: 84.27 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.4048, allocations: 20 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.4055, allocations: 381.1 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.4056, allocations: 116.2 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.454e-05/0.4057, allocations: 17.42 kB / 1.335 GB, free: 7.977 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.4058, allocations: 19.44 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4058, allocations: 0 / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of Templates: time 0.005529/0.4113, allocations: 1.9 MB / 1.337 GB, free: 6.082 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 -s gbode -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: 9.043376690999139]