Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001569/0.001569, allocations: 109.6 kB / 19.7 MB, free: 2.25 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.00187/0.00187, allocations: 216.9 kB / 23.01 MB, free: 5.086 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.752/2.752, allocations: 476.7 MB / 0.7714 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002087/0.002087, allocations: 60.23 kB / 1.119 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 169.9 MB / 1.285 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002943/0.3287, allocations: 1.081 MB / 1.286 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3306, allocations: 1.038 MB / 1.287 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.3307, allocations: 4 kB / 1.287 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.3309, allocations: 23.73 kB / 1.287 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.952e-05/0.331, allocations: 19.75 kB / 1.287 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.3313, allocations: 72.34 kB / 1.287 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.3316, allocations: 188 kB / 1.287 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.3317, allocations: 56.41 kB / 1.287 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3319, allocations: 75.78 kB / 1.287 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.332, allocations: 83.59 kB / 1.287 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.332, allocations: 16 kB / 1.287 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.3321, allocations: 20 kB / 1.287 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.3322, allocations: 39.84 kB / 1.287 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.233e-05/0.3322, allocations: 75.59 kB / 1.287 GB, free: 456 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.3325, allocations: 187.1 kB / 1.288 GB, free: 268 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3325, allocations: 7.984 kB / 1.288 GB, free: 260 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3325, allocations: 0 / 1.288 GB, free: 260 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3326, allocations: 0 / 1.288 GB, free: 260 kB / 0.9825 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.0009217/0.3335, allocations: 424.4 kB / 1.288 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3335, allocations: 8.031 kB / 1.288 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3336, allocations: 28.8 kB / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.334, allocations: 165.2 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.334, allocations: 16.31 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.334, allocations: 20.38 kB / 1.288 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.3344, allocations: 153.6 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3344, allocations: 0 / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.3344, allocations: 8 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3344, allocations: 4 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.3347, allocations: 103.9 kB / 1.288 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.3359, allocations: 0.4954 MB / 1.289 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.3363, allocations: 138.7 kB / 1.289 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.3365, allocations: 84.69 kB / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.3365, allocations: 0 / 1.289 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.3367, allocations: 123.3 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/0.3367, allocations: 0 / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0006029/0.3374, allocations: 227.3 kB / 1.289 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.3374, allocations: 55.34 kB / 1.29 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3376, allocations: 162.8 kB / 1.29 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.3376, allocations: 33.7 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.3377, allocations: 120.5 kB / 1.29 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.861e-05/0.3378, allocations: 67.42 kB / 1.29 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.3378, allocations: 45.7 kB / 1.29 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.338, allocations: 322.8 kB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.3382, allocations: 67.95 kB / 1.29 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.3384, allocations: 85.67 kB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.3388, allocations: 156.1 kB / 1.291 GB, free: 13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3388, allocations: 0 / 1.291 GB, free: 13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005272/0.3393, allocations: 205.5 kB / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3394, allocations: 11.94 kB / 1.291 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3394, allocations: 3.984 kB / 1.291 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3394, allocations: 0 / 1.291 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3396, allocations: 48 kB / 1.291 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.3396, allocations: 0 / 1.291 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.3398, allocations: 23.88 kB / 1.291 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3398, allocations: 8 kB / 1.291 GB, free: 12.7 MB / 0.9981 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.0001352/0.3399, allocations: 133.7 kB / 1.291 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.3399, allocations: 15.91 kB / 1.291 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.3404, allocations: 186.7 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3404, allocations: 4 kB / 1.291 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3404, allocations: 3.984 kB / 1.291 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3404, allocations: 0 / 1.291 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009107/0.3413, allocations: 0.5592 MB / 1.292 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3413, allocations: 8 kB / 1.292 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.3415, allocations: 35.97 kB / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3415, allocations: 3.938 kB / 1.292 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.3415, allocations: 8 kB / 1.292 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.3415, allocations: 4 kB / 1.292 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.3415, allocations: 8.125 kB / 1.292 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.3422, allocations: 374.9 kB / 1.292 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.3422, allocations: 27.81 kB / 1.292 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.3422, allocations: 8 kB / 1.292 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.3424, allocations: 23.86 kB / 1.292 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.3425, allocations: 27.91 kB / 1.292 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3425, allocations: 7.984 kB / 1.292 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000103/0.3426, allocations: 128.5 kB / 1.292 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3426, allocations: 0 / 1.292 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002862/0.3429, allocations: 28 kB / 1.292 GB, free: 11.02 MB / 0.9981 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.0001417/0.343, allocations: 103.2 kB / 1.292 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004536/0.3435, allocations: 155.8 kB / 1.293 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3435, allocations: 4.062 kB / 1.293 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3437, allocations: 87.83 kB / 1.293 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.344, allocations: 19.98 kB / 1.293 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007532/0.3448, allocations: 408.8 kB / 1.293 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.3452, allocations: 0.7243 MB / 1.294 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.3452, allocations: 23.44 kB / 1.294 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3452, allocations: 0 / 1.294 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of Templates: time 0.004197/0.3494, allocations: 1.976 MB / 1.296 GB, free: 7.449 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.029736617027083]