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.001957/0.001957, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.002472/0.002472, allocations: 165.3 kB / 23.55 MB, free: 0.8594 MB / 18.57 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.527/1.527, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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.855/2.855, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 2.064e-06/2.064e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.263e-05, allocations: 4.844 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002804/0.002836, allocations: 1.016 MB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.004713, allocations: 1.032 MB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.004878, allocations: 7.938 kB / 0.7885 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.005054, allocations: 15.8 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.657e-05/0.00515, allocations: 25.31 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.00553, allocations: 75.83 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.005824, allocations: 180.1 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.006005, allocations: 53.67 kB / 0.7888 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.006213, allocations: 103.8 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.006331, allocations: 59.8 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.006372, allocations: 20.61 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.006437, allocations: 16 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.00649, allocations: 45.3 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.00657, allocations: 51.83 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.006916, allocations: 191.3 kB / 0.7893 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.006924, allocations: 4.672 kB / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/0.006924, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.00693, allocations: 0.9062 kB / 0.7893 GB, free: 9.867 MB / 0.7448 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.001007/0.007937, allocations: 423.6 kB / 0.7897 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.007978, allocations: 15.47 kB / 0.7897 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.008144, allocations: 28.84 kB / 0.7897 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.008494, allocations: 166 kB / 0.7899 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.008522, allocations: 16.38 kB / 0.7899 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.008575, allocations: 20.36 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.008986, allocations: 176.6 kB / 0.7901 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.008996, allocations: 192 / 0.7901 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.009023, allocations: 12.12 kB / 0.7901 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.009029, allocations: 4.719 kB / 0.7901 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.009349, allocations: 106.2 kB / 0.7902 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.01056, allocations: 449.8 kB / 0.7906 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.01103, allocations: 134.7 kB / 0.7907 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.01124, allocations: 80.81 kB / 0.7908 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.01127, allocations: 0 / 0.7908 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002984/0.01156, allocations: 146.3 kB / 0.791 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.01157, allocations: 0 / 0.791 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0006766/0.01224, allocations: 236.2 kB / 0.7912 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.0123, allocations: 55.94 kB / 0.7912 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.01246, allocations: 142.3 kB / 0.7914 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.0125, allocations: 33.7 kB / 0.7914 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.01261, allocations: 117.3 kB / 0.7915 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.01268, allocations: 71.38 kB / 0.7916 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.308e-05/0.01277, allocations: 42.52 kB / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.01296, allocations: 330.8 kB / 0.7919 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.01319, allocations: 64.48 kB / 0.792 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.01343, allocations: 87.86 kB / 0.7921 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.01383, allocations: 146.8 kB / 0.7922 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01383, allocations: 0.6562 kB / 0.7922 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005679/0.0144, allocations: 212.2 kB / 0.7924 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.01442, allocations: 7.984 kB / 0.7924 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01443, allocations: 3.938 kB / 0.7924 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.01445, allocations: 4.812 kB / 0.7924 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.01467, allocations: 31.98 kB / 0.7925 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01468, allocations: 0.9375 kB / 0.7925 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.01483, allocations: 29.14 kB / 0.7925 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.01485, allocations: 4 kB / 0.7925 GB, free: 6.367 MB / 0.7448 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.000147/0.015, allocations: 133.7 kB / 0.7926 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.01503, allocations: 20.88 kB / 0.7927 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.01553, allocations: 197.4 kB / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01553, allocations: 0 / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01553, allocations: 0 / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01554, allocations: 0 / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.01679, allocations: 0.5099 MB / 0.7933 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.0168, allocations: 0 / 0.7933 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.01699, allocations: 43.91 kB / 0.7934 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.017, allocations: 1.094 kB / 0.7934 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.01702, allocations: 8 kB / 0.7934 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.01702, allocations: 4 kB / 0.7934 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.01703, allocations: 8.375 kB / 0.7934 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007269/0.01776, allocations: 388.2 kB / 0.7938 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.0178, allocations: 27.88 kB / 0.7938 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.01783, allocations: 4 kB / 0.7938 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.018, allocations: 20.73 kB / 0.7938 GB, free: 4.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.01808, allocations: 24.56 kB / 0.7939 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.0181, allocations: 11.98 kB / 0.7939 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.492e-05/0.01819, allocations: 107.2 kB / 0.794 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01819, allocations: 0 / 0.794 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003082/0.0185, allocations: 35.94 kB / 0.794 GB, free: 4.754 MB / 0.7448 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.0001652/0.01867, allocations: 114.6 kB / 0.7941 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.01912, allocations: 151.8 kB / 0.7943 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.01913, allocations: 0 / 0.7943 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.01933, allocations: 80.78 kB / 0.7943 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.0197, allocations: 32.97 kB / 0.7944 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007736/0.02047, allocations: 362.9 kB / 0.7947 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.02061, allocations: 110.3 kB / 0.7948 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.276e-05/0.02069, allocations: 19.95 kB / 0.7948 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.02076, allocations: 24.48 kB / 0.7949 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.02076, allocations: 0 / 0.7949 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of Templates: time 0.005923/0.02668, allocations: 1.745 MB / 0.7966 GB, free: 2.109 MB / 0.7448 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: 7.924440023954958]