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.001285/0.001285, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001451/0.001451, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.039/1.039, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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 1.867/1.867, allocations: 359 MB / 0.6055 GB, free: 10.99 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 3.777e-06/3.777e-06, allocations: 0 / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.475e-05/3.852e-05, allocations: 5.406 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002046/0.002084, allocations: 1.036 MB / 0.7882 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.003469, allocations: 1.055 MB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.003596, allocations: 7.938 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.003744, allocations: 15.8 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.003808, allocations: 25.31 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.00416, allocations: 71.84 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.004348, allocations: 184 kB / 0.7895 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.004503, allocations: 49.73 kB / 0.7896 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.004643, allocations: 103.8 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.004729, allocations: 59.84 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.004758, allocations: 16.62 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.05e-05/0.004828, allocations: 19.98 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.011e-05/0.004868, allocations: 49.23 kB / 0.7898 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.004921, allocations: 51.83 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.00513, allocations: 119.5 kB / 0.79 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.005133, allocations: 0.8438 kB / 0.79 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/0.005135, allocations: 0 / 0.79 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.005141, allocations: 3.984 kB / 0.79 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.0006509/0.005792, allocations: 0.5085 MB / 0.7905 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.00584, allocations: 12.94 kB / 0.7905 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.005991, allocations: 32.78 kB / 0.7905 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.006231, allocations: 173.5 kB / 0.7907 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.006254, allocations: 14.03 kB / 0.7907 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.00629, allocations: 24.33 kB / 0.7907 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.006528, allocations: 160.4 kB / 0.7909 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.006537, allocations: 192 / 0.7909 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.006556, allocations: 13.72 kB / 0.7909 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.006565, allocations: 4 kB / 0.7909 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.122e-05/0.006656, allocations: 52.84 kB / 0.7909 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.007424, allocations: 471.5 kB / 0.7914 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.007706, allocations: 103.2 kB / 0.7915 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.007783, allocations: 59.58 kB / 0.7915 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.007809, allocations: 4 kB / 0.7915 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.007945, allocations: 118.7 kB / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.823e-06/0.007947, allocations: 0 / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.000273/0.00822, allocations: 163.6 kB / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.008253, allocations: 56.12 kB / 0.7919 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.008654, allocations: 199.4 kB / 0.792 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.008676, allocations: 30.23 kB / 0.7921 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.008753, allocations: 163.2 kB / 0.7922 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.008802, allocations: 72.52 kB / 0.7923 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.00886, allocations: 43.36 kB / 0.7923 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.008988, allocations: 0.4962 MB / 0.7928 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.009083, allocations: 32.55 kB / 0.7929 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.009156, allocations: 62.72 kB / 0.7929 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.009277, allocations: 94.86 kB / 0.793 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.00928, allocations: 0 / 0.793 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001936/0.009473, allocations: 155.7 kB / 0.7932 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.00949, allocations: 4 kB / 0.7932 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.009497, allocations: 3.984 kB / 0.7932 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.009511, allocations: 4.938 kB / 0.7932 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.009621, allocations: 39.92 kB / 0.7932 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.009627, allocations: 1.594 kB / 0.7932 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.009686, allocations: 19.88 kB / 0.7932 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.009698, allocations: 8 kB / 0.7932 GB, free: 6.297 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.0001058/0.009804, allocations: 169.8 kB / 0.7934 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.009828, allocations: 19.95 kB / 0.7934 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.01004, allocations: 138.7 kB / 0.7935 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.01005, allocations: 11.42 kB / 0.7936 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01005, allocations: 0 / 0.7936 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01006, allocations: 0 / 0.7936 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.01054, allocations: 0.5225 MB / 0.7941 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.01055, allocations: 4 kB / 0.7941 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.01065, allocations: 40.56 kB / 0.7941 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.01066, allocations: 4.5 kB / 0.7941 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.01067, allocations: 0 / 0.7941 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.01067, allocations: 4.562 kB / 0.7941 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.01068, allocations: 8.5 kB / 0.7941 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.01098, allocations: 369.7 kB / 0.7945 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.011, allocations: 23.84 kB / 0.7945 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.01102, allocations: 8 kB / 0.7945 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.01109, allocations: 16.45 kB / 0.7945 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.01115, allocations: 25.56 kB / 0.7946 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.01117, allocations: 11.98 kB / 0.7946 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.01123, allocations: 149.8 kB / 0.7947 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01123, allocations: 0 / 0.7947 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001943/0.01143, allocations: 28 kB / 0.7947 GB, free: 4.645 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.0001295/0.01156, allocations: 104.7 kB / 0.7948 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.01176, allocations: 112.3 kB / 0.7949 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.01176, allocations: 0 / 0.7949 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.835e-05/0.01183, allocations: 61.81 kB / 0.795 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.01208, allocations: 31.91 kB / 0.795 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.01288, allocations: 383.8 kB / 0.7954 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.01293, allocations: 80 kB / 0.7955 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.145e-05/0.01298, allocations: 14.61 kB / 0.7955 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.46e-05/0.01304, allocations: 24.48 kB / 0.7955 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.01304, allocations: 0.7812 kB / 0.7955 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of Templates: time 0.003911/0.01695, allocations: 1.758 MB / 0.7972 GB, free: 2.059 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=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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3698732510674745]