Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008351/0.008351, allocations: 99 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001537, allocations: 192.2 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.876/2.876, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 63.91 kB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3923, allocations: 151.6 MB / 1.167 GB, free: 6.723 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002955/0.3953, allocations: 1.071 MB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3969, allocations: 0.9987 MB / 1.169 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.397, allocations: 4 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.3972, allocations: 27.67 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.577e-05/0.3973, allocations: 19.73 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.3975, allocations: 75.8 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.3978, allocations: 172.1 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.398, allocations: 76.05 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.3982, allocations: 75.64 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3983, allocations: 79.67 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.3984, allocations: 16 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.3984, allocations: 16 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.3985, allocations: 43.83 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.43e-05/0.3986, allocations: 75.59 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.3989, allocations: 183.1 kB / 1.17 GB, free: 3.781 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3989, allocations: 3.984 kB / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3989, allocations: 0 / 1.17 GB, free: 3.777 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.3989, allocations: 0 / 1.17 GB, free: 3.777 MB / 0.92 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.0008408/0.3998, allocations: 486.6 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3998, allocations: 12.03 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.3999, allocations: 20.83 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.4003, allocations: 223.2 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.4003, allocations: 16.38 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.4004, allocations: 16.38 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.4007, allocations: 154.7 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.4007, allocations: 0 / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.4008, allocations: 8 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.4008, allocations: 4 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.4011, allocations: 103.9 kB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.4023, allocations: 0.5506 MB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.4026, allocations: 138.7 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.4028, allocations: 84.8 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.4029, allocations: 7.984 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.4031, allocations: 115.3 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.4031, allocations: 0 / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.0005486/0.4037, allocations: 235.5 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.4037, allocations: 55.41 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.4039, allocations: 156 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.4039, allocations: 29.7 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.404, allocations: 116.6 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.4041, allocations: 71.41 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.4041, allocations: 41.7 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4043, allocations: 330.8 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.4045, allocations: 71.81 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.4047, allocations: 87.3 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.4051, allocations: 141.6 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4051, allocations: 3.938 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005128/0.4056, allocations: 215.3 kB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4057, allocations: 4 kB / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4057, allocations: 0 / 1.173 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4057, allocations: 4 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.4059, allocations: 47.95 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.4059, allocations: 7.984 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.406, allocations: 19.88 kB / 1.173 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.4061, allocations: 8 kB / 1.173 GB, free: 24 kB / 0.92 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.0001348/0.4062, allocations: 129.7 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.4062, allocations: 15.91 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.4066, allocations: 194.7 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.4067, allocations: 4 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4067, allocations: 0 / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4067, allocations: 0 / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008132/0.4075, allocations: 0.5889 MB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4075, allocations: 4 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.4077, allocations: 35.92 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.4077, allocations: 7.938 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4077, allocations: 7.984 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4077, allocations: 0 / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4077, allocations: 8.188 kB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005919/0.4083, allocations: 383 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.4084, allocations: 100.9 kB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.4085, allocations: 8 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.4086, allocations: 11.98 kB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.4087, allocations: 23.97 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.4087, allocations: 11.94 kB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.795e-05/0.4088, allocations: 124.8 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4088, allocations: 0 / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002938/0.4091, allocations: 31.95 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.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.0001758/0.4093, allocations: 107.2 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004425/0.4098, allocations: 167.7 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4098, allocations: 4.062 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.41, allocations: 87.84 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.4103, allocations: 23.92 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.411, allocations: 378.3 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.4113, allocations: 0.7283 MB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.246e-05/0.4114, allocations: 13.42 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.4115, allocations: 23.44 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.4115, allocations: 0 / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.00481/0.4163, allocations: 1.787 MB / 1.178 GB, free: 10.84 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches