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.002641/0.002641, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.003027/0.003027, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 5.602 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.868/2.868, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 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 2.494e-06/2.494e-06, allocations: 0 / 0.7865 GB, free: 11.61 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.502e-05, allocations: 2.312 kB / 0.7865 GB, free: 11.6 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002537/0.002572, allocations: 1.022 MB / 0.7875 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.004296, allocations: 1.036 MB / 0.7885 GB, free: 9.547 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.00441, allocations: 4 kB / 0.7885 GB, free: 9.543 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.004563, allocations: 23.67 kB / 0.7885 GB, free: 9.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.004635, allocations: 16.48 kB / 0.7885 GB, free: 9.504 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.004942, allocations: 72.92 kB / 0.7886 GB, free: 9.434 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.005198, allocations: 180.1 kB / 0.7887 GB, free: 9.258 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.005377, allocations: 61.62 kB / 0.7888 GB, free: 9.195 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.005556, allocations: 103.8 kB / 0.7889 GB, free: 9.094 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.005671, allocations: 55.8 kB / 0.789 GB, free: 9.039 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.005706, allocations: 17.78 kB / 0.789 GB, free: 9.023 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.005776, allocations: 27.97 kB / 0.789 GB, free: 8.996 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.005829, allocations: 39.84 kB / 0.789 GB, free: 8.957 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.005899, allocations: 47.89 kB / 0.7891 GB, free: 8.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.006232, allocations: 200.1 kB / 0.7893 GB, free: 8.715 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.006237, allocations: 0 / 0.7893 GB, free: 8.715 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.006239, allocations: 0 / 0.7893 GB, free: 8.715 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.006245, allocations: 0.6875 kB / 0.7893 GB, free: 8.715 MB / 0.698 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.0009449/0.00719, allocations: 0.52 MB / 0.7898 GB, free: 8.152 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.007229, allocations: 12.03 kB / 0.7898 GB, free: 8.141 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.007386, allocations: 34.12 kB / 0.7898 GB, free: 8.109 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.007687, allocations: 172.8 kB / 0.79 GB, free: 7.914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.00771, allocations: 13.44 kB / 0.79 GB, free: 7.902 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.007751, allocations: 20.38 kB / 0.79 GB, free: 7.883 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.008105, allocations: 163.9 kB / 0.7902 GB, free: 7.711 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.008116, allocations: 1.594 kB / 0.7902 GB, free: 7.711 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.008137, allocations: 8.125 kB / 0.7902 GB, free: 7.703 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.008145, allocations: 4 kB / 0.7902 GB, free: 7.699 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.008452, allocations: 102.3 kB / 0.7903 GB, free: 7.602 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.009583, allocations: 0.49 MB / 0.7908 GB, free: 7.078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.009984, allocations: 135.2 kB / 0.7909 GB, free: 6.934 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.01016, allocations: 85.44 kB / 0.791 GB, free: 6.848 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.01019, allocations: 7.984 kB / 0.791 GB, free: 6.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.01045, allocations: 146.6 kB / 0.7911 GB, free: 6.676 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/0.01045, allocations: 0.6875 kB / 0.7911 GB, free: 6.676 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0005499/0.011, allocations: 217.6 kB / 0.7913 GB, free: 6.461 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.01105, allocations: 55.41 kB / 0.7914 GB, free: 6.395 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.01128, allocations: 215.8 kB / 0.7916 GB, free: 6.168 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.01131, allocations: 29.7 kB / 0.7916 GB, free: 6.133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.01145, allocations: 171.7 kB / 0.7918 GB, free: 5.961 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.01152, allocations: 68.47 kB / 0.7919 GB, free: 5.895 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.01162, allocations: 51.36 kB / 0.7919 GB, free: 5.836 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002801/0.0119, allocations: 0.5001 MB / 0.7924 GB, free: 5.324 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.01207, allocations: 57.56 kB / 0.7924 GB, free: 5.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.01227, allocations: 93.56 kB / 0.7925 GB, free: 5.172 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.01258, allocations: 143.1 kB / 0.7927 GB, free: 5.027 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01258, allocations: 0 / 0.7927 GB, free: 5.027 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004948/0.01308, allocations: 202.8 kB / 0.7929 GB, free: 4.824 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.0131, allocations: 4 kB / 0.7929 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.0131, allocations: 4.547 kB / 0.7929 GB, free: 4.816 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.01312, allocations: 4.531 kB / 0.7929 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.01331, allocations: 31.98 kB / 0.7929 GB, free: 4.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.01332, allocations: 8.703 kB / 0.7929 GB, free: 4.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.01343, allocations: 20.47 kB / 0.7929 GB, free: 4.754 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.01345, allocations: 8 kB / 0.7929 GB, free: 4.746 MB / 0.698 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.0004516/0.0139, allocations: 178 kB / 0.7931 GB, free: 4.562 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.01395, allocations: 23.91 kB / 0.7931 GB, free: 4.539 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.01437, allocations: 175.2 kB / 0.7933 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01437, allocations: 5.312 kB / 0.7933 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.01438, allocations: 3.984 kB / 0.7933 GB, free: 4.352 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.01439, allocations: 3.984 kB / 0.7933 GB, free: 4.348 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009397/0.01532, allocations: 0.5836 MB / 0.7939 GB, free: 3.699 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01533, allocations: 4 kB / 0.7939 GB, free: 3.695 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.0155, allocations: 29.73 kB / 0.7939 GB, free: 3.668 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.0155, allocations: 4 kB / 0.7939 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.01553, allocations: 11.98 kB / 0.7939 GB, free: 3.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01553, allocations: 3.938 kB / 0.7939 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.01554, allocations: 13.22 kB / 0.794 GB, free: 3.637 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006474/0.01618, allocations: 427.6 kB / 0.7944 GB, free: 3.176 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.01621, allocations: 16.45 kB / 0.7944 GB, free: 3.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.01624, allocations: 8.609 kB / 0.7944 GB, free: 3.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.01637, allocations: 15.88 kB / 0.7944 GB, free: 3.137 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.01644, allocations: 25.77 kB / 0.7944 GB, free: 3.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.01646, allocations: 12 kB / 0.7944 GB, free: 3.102 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001148/0.01657, allocations: 149.4 kB / 0.7946 GB, free: 2.957 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.01657, allocations: 0 / 0.7946 GB, free: 2.957 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002876/0.01686, allocations: 40.77 kB / 0.7946 GB, free: 2.918 MB / 0.698 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.0001612/0.01702, allocations: 110.6 kB / 0.7947 GB, free: 2.805 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.01742, allocations: 147.6 kB / 0.7949 GB, free: 2.656 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01743, allocations: 4 kB / 0.7949 GB, free: 2.652 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.0176, allocations: 83.53 kB / 0.7949 GB, free: 2.566 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.01796, allocations: 28.52 kB / 0.795 GB, free: 2.539 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008012/0.01876, allocations: 406.1 kB / 0.7954 GB, free: 2.098 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.0189, allocations: 114.1 kB / 0.7955 GB, free: 1.969 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.6e-05/0.01897, allocations: 16.2 kB / 0.7955 GB, free: 1.949 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.01904, allocations: 20.5 kB / 0.7955 GB, free: 1.93 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/0.01904, allocations: 0 / 0.7955 GB, free: 1.93 MB / 0.698 GB Notification: Performance of Templates: time 0.006024/0.02507, allocations: 1.755 MB / 0.7972 GB, free: 228 kB / 0.698 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] 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.891162450076081]