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.001841/0.001841, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.002206/0.002206, allocations: 164.9 kB / 22.46 MB, free: 5.359 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.53/1.53, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.73/2.73, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 0 / 0.951 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.904e-05/5.23e-05, allocations: 6.219 kB / 0.9511 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003583/0.003635, allocations: 1.007 MB / 0.952 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002449/0.006084, allocations: 1.034 MB / 0.953 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.006232, allocations: 4 kB / 0.9531 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.006422, allocations: 19.73 kB / 0.9531 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.006524, allocations: 19.73 kB / 0.9531 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.006972, allocations: 79.84 kB / 0.9532 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.007315, allocations: 180.1 kB / 0.9533 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.007545, allocations: 56.45 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.007775, allocations: 103.8 kB / 0.9535 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.007944, allocations: 55.8 kB / 0.9535 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.064e-05/0.007994, allocations: 16 kB / 0.9536 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.292e-05/0.008077, allocations: 20 kB / 0.9536 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.008144, allocations: 39.89 kB / 0.9536 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.975e-05/0.008244, allocations: 51.83 kB / 0.9537 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.008668, allocations: 199.3 kB / 0.9539 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.008676, allocations: 3.984 kB / 0.9539 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/0.008678, allocations: 4 kB / 0.9539 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.008684, allocations: 0 / 0.9539 GB, free: 8.559 MB / 0.8575 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.001294/0.009978, allocations: 422.4 kB / 0.9543 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.01003, allocations: 8.031 kB / 0.9543 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.01023, allocations: 24.8 kB / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.01071, allocations: 163.9 kB / 0.9545 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.01075, allocations: 20.38 kB / 0.9545 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.01081, allocations: 20.36 kB / 0.9545 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.01138, allocations: 175.7 kB / 0.9547 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.01139, allocations: 192 / 0.9547 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.01143, allocations: 12.12 kB / 0.9547 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.01144, allocations: 4 kB / 0.9547 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.01191, allocations: 103.9 kB / 0.9548 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.01358, allocations: 440 kB / 0.9552 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006361/0.01421, allocations: 130.7 kB / 0.9553 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.0145, allocations: 80.75 kB / 0.9554 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.01455, allocations: 11.98 kB / 0.9554 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/0.01498, allocations: 147.4 kB / 0.9555 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 2.655e-06/0.01498, allocations: 0 / 0.9555 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.0009368/0.01592, allocations: 225.4 kB / 0.9558 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.344e-05/0.01598, allocations: 55.41 kB / 0.9558 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.01621, allocations: 151.6 kB / 0.956 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.214e-05/0.01628, allocations: 29.7 kB / 0.956 GB, free: 6.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.01643, allocations: 120.5 kB / 0.9561 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.01653, allocations: 71.36 kB / 0.9562 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.01665, allocations: 37.7 kB / 0.9562 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.01687, allocations: 326.8 kB / 0.9565 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.01721, allocations: 67.95 kB / 0.9566 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.01757, allocations: 89.53 kB / 0.9567 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005865/0.01816, allocations: 147.2 kB / 0.9568 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01816, allocations: 0 / 0.9568 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008361/0.019, allocations: 205.5 kB / 0.957 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.01902, allocations: 4 kB / 0.957 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.01904, allocations: 7.984 kB / 0.957 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.01906, allocations: 0 / 0.957 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.0194, allocations: 39.92 kB / 0.9571 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.01941, allocations: 8.031 kB / 0.9571 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.01964, allocations: 27.86 kB / 0.9571 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.01967, allocations: 4 kB / 0.9571 GB, free: 5.051 MB / 0.8575 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.0001991/0.01987, allocations: 133.7 kB / 0.9572 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.01992, allocations: 15.91 kB / 0.9572 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006984/0.02062, allocations: 188.6 kB / 0.9574 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.02062, allocations: 4 kB / 0.9574 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.02063, allocations: 4 kB / 0.9574 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.02063, allocations: 0 / 0.9574 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.02202, allocations: 0.5 MB / 0.9579 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.02202, allocations: 0 / 0.9579 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.02232, allocations: 52.09 kB / 0.958 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.02233, allocations: 4 kB / 0.958 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.02235, allocations: 0 / 0.958 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.02236, allocations: 4 kB / 0.958 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.02236, allocations: 7.938 kB / 0.958 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.02337, allocations: 381.5 kB / 0.9583 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.02341, allocations: 23.88 kB / 0.9584 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.02345, allocations: 8 kB / 0.9584 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.02371, allocations: 23.86 kB / 0.9584 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-05/0.02381, allocations: 19.97 kB / 0.9584 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.02384, allocations: 11.98 kB / 0.9584 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002291/0.02407, allocations: 113.6 kB / 0.9585 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.02407, allocations: 3.938 kB / 0.9585 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005121/0.02458, allocations: 31.95 kB / 0.9586 GB, free: 3.445 MB / 0.8575 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.0001931/0.02478, allocations: 107.2 kB / 0.9587 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006777/0.02545, allocations: 159.8 kB / 0.9588 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.02546, allocations: 0 / 0.9588 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.02585, allocations: 82.97 kB / 0.9589 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.02643, allocations: 36.27 kB / 0.9589 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.02742, allocations: 359.4 kB / 0.9593 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.02759, allocations: 108.3 kB / 0.9594 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.02771, allocations: 21.48 kB / 0.9594 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.02781, allocations: 20.48 kB / 0.9594 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.02781, allocations: 0 / 0.9594 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of Templates: time 0.008263/0.03607, allocations: 1.731 MB / 0.9611 GB, free: 0.7969 MB / 0.8575 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/jenkins/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: 8.307986289262772]