Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00156/0.00156, allocations: 109.3 kB / 16.37 MB, free: 6.48 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.001872/0.001872, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.538/2.538, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.34 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3127, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.00235/0.3151, allocations: 1.087 MB / 1.028 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.3163, allocations: 0.9909 MB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.3164, allocations: 7.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.3166, allocations: 15.8 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.3166, allocations: 27.59 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.317, allocations: 75.86 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.3172, allocations: 176.1 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.3174, allocations: 76.05 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3175, allocations: 71.77 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3176, allocations: 79.61 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.3176, allocations: 20 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.431e-05/0.3177, allocations: 16 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.3177, allocations: 43.83 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.3178, allocations: 71.59 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.318, allocations: 195.2 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3181, allocations: 0 / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3181, allocations: 0 / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3181, allocations: 0 / 1.03 GB, free: 15.12 MB / 0.8106 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.000775/0.3189, allocations: 474.9 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.3189, allocations: 8.031 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.319, allocations: 24.66 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.3192, allocations: 216.6 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3192, allocations: 16.31 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.3193, allocations: 16.28 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.3196, allocations: 166.2 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3196, allocations: 0 / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.3196, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3196, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.3199, allocations: 105.1 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.321, allocations: 0.5351 MB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.3214, allocations: 142.7 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.3215, allocations: 88.77 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.3216, allocations: 7.969 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.3218, allocations: 113.1 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.3218, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19): time 0.0005367/0.3224, allocations: 229.3 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.3224, allocations: 55.41 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3225, allocations: 156.2 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3226, allocations: 33.7 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.3226, allocations: 120.4 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.3227, allocations: 63.09 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.3228, allocations: 45.7 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.3229, allocations: 318.8 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.3231, allocations: 71.95 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.3233, allocations: 87.09 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.3236, allocations: 152.3 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3236, allocations: 4 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004454/0.3241, allocations: 205.4 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3241, allocations: 8 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3241, allocations: 3.938 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3241, allocations: 0 / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3243, allocations: 43.97 kB / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3244, allocations: 0 / 1.033 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3245, allocations: 31.86 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3245, allocations: 4 kB / 1.033 GB, free: 11.4 MB / 0.8106 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.0001015/0.3246, allocations: 137.7 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.3247, allocations: 11.81 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003983/0.3251, allocations: 193 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3251, allocations: 0 / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3251, allocations: 4 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3251, allocations: 3.984 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.3258, allocations: 0.5889 MB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3259, allocations: 7.875 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.326, allocations: 39.97 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.326, allocations: 3.938 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3261, allocations: 8 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3261, allocations: 4 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3261, allocations: 3.938 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.3266, allocations: 381.3 kB / 1.034 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.3267, allocations: 108.8 kB / 1.034 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3267, allocations: 8 kB / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3269, allocations: 15.98 kB / 1.034 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.3269, allocations: 23.91 kB / 1.035 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.327, allocations: 8 kB / 1.035 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.886e-05/0.327, allocations: 118.3 kB / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.327, allocations: 0 / 1.035 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002662/0.3273, allocations: 32 kB / 1.035 GB, free: 9.586 MB / 0.8106 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.0001388/0.3275, allocations: 117.4 kB / 1.035 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.3279, allocations: 157.7 kB / 1.035 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3279, allocations: 4 kB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.3281, allocations: 92.22 kB / 1.035 GB, free: 9.219 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.3284, allocations: 23.98 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.329, allocations: 382.8 kB / 1.035 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3293, allocations: 0.7166 MB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.764e-05/0.3294, allocations: 21.42 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.3294, allocations: 19.42 kB / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3294, allocations: 0 / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of Templates: time 0.004302/0.3337, allocations: 1.751 MB / 1.038 GB, free: 6.25 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches