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.0008417/0.0008417, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0008781/0.0008781, allocations: 161 kB / 23.82 MB, free: 0.7461 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 0.9797/0.9797, allocations: 177.1 MB / 204.2 MB, free: 5.121 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.832/1.832, allocations: 359 MB / 0.6052 GB, free: 10.97 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.083e-06/2.083e-06, allocations: 0 / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.213e-05, allocations: 9.469 kB / 0.7872 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001582/0.001604, allocations: 1.044 MB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.002783, allocations: 1.051 MB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.002895, allocations: 7.938 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.003039, allocations: 19.8 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.003094, allocations: 20.8 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.003416, allocations: 77.34 kB / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.003588, allocations: 180.1 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.003733, allocations: 52.52 kB / 0.7896 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.003856, allocations: 103.8 kB / 0.7897 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.003947, allocations: 61.91 kB / 0.7897 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.003976, allocations: 16 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.004028, allocations: 23.98 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.004063, allocations: 39.83 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.004108, allocations: 47.84 kB / 0.7898 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.00429, allocations: 131.5 kB / 0.79 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004292, allocations: 1.562 kB / 0.79 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004294, allocations: 0 / 0.79 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.004298, allocations: 0 / 0.79 GB, free: 9.508 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.0005646/0.004862, allocations: 0.5044 MB / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.004907, allocations: 8.594 kB / 0.7905 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.005031, allocations: 40.78 kB / 0.7905 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.005229, allocations: 171 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.005252, allocations: 12.38 kB / 0.7907 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.005282, allocations: 26.42 kB / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.0055, allocations: 156.4 kB / 0.7909 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.00551, allocations: 8.156 kB / 0.7909 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.005527, allocations: 12.12 kB / 0.7909 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.005537, allocations: 7.938 kB / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.357e-05/0.00562, allocations: 49.58 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.006249, allocations: 469.4 kB / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.006487, allocations: 107.2 kB / 0.7915 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.006555, allocations: 56.25 kB / 0.7915 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.006577, allocations: 7.984 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.006697, allocations: 117.9 kB / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.903e-06/0.006698, allocations: 0 / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0002545/0.006953, allocations: 157.4 kB / 0.7918 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.006985, allocations: 64.55 kB / 0.7919 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.007088, allocations: 195.8 kB / 0.7921 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.007109, allocations: 33.7 kB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.007177, allocations: 164.6 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.00722, allocations: 67.39 kB / 0.7923 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.007269, allocations: 47.36 kB / 0.7924 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.007389, allocations: 0.4962 MB / 0.7928 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/0.007461, allocations: 33.72 kB / 0.7929 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.007525, allocations: 59.34 kB / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.007633, allocations: 96.92 kB / 0.793 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007636, allocations: 0.9062 kB / 0.793 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001698/0.007805, allocations: 148.7 kB / 0.7932 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.007821, allocations: 8 kB / 0.7932 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.007828, allocations: 0 / 0.7932 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.00784, allocations: 0 / 0.7932 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.00794, allocations: 41.12 kB / 0.7932 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.007946, allocations: 4 kB / 0.7932 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.007991, allocations: 15.89 kB / 0.7932 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.008, allocations: 7.125 kB / 0.7932 GB, free: 5.945 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 9.406e-05/0.008094, allocations: 176.4 kB / 0.7934 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.008112, allocations: 15.95 kB / 0.7934 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.00829, allocations: 144.9 kB / 0.7936 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.008293, allocations: 4 kB / 0.7936 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.008297, allocations: 0 / 0.7936 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.0083, allocations: 0 / 0.7936 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.008726, allocations: 0.5327 MB / 0.7941 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.008727, allocations: 0 / 0.7941 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.008824, allocations: 34.42 kB / 0.7941 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.00883, allocations: 4 kB / 0.7941 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.008846, allocations: 8 kB / 0.7941 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.008849, allocations: 3.984 kB / 0.7941 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.008855, allocations: 11.94 kB / 0.7941 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.009133, allocations: 370.6 kB / 0.7945 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.009147, allocations: 15.84 kB / 0.7945 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.009164, allocations: 8.844 kB / 0.7945 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.04e-05/0.009225, allocations: 15.92 kB / 0.7945 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.009276, allocations: 25.19 kB / 0.7946 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.009285, allocations: 4 kB / 0.7946 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.009343, allocations: 153.4 kB / 0.7947 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009343, allocations: 0 / 0.7947 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001715/0.009515, allocations: 28.84 kB / 0.7947 GB, free: 4.289 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 8.648e-05/0.009601, allocations: 106.1 kB / 0.7948 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.009789, allocations: 113.9 kB / 0.7949 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.009791, allocations: 0 / 0.7949 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.777e-05/0.009859, allocations: 68.45 kB / 0.795 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.01008, allocations: 27.91 kB / 0.795 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.01072, allocations: 385.5 kB / 0.7954 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.839e-05/0.01078, allocations: 77.19 kB / 0.7955 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.565e-05/0.01082, allocations: 18.61 kB / 0.7955 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.01087, allocations: 16.5 kB / 0.7955 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of SimCode: time 8.41e-07/0.01087, allocations: 1 kB / 0.7955 GB, free: 3.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.004036/0.01491, allocations: 1.835 MB / 0.7973 GB, free: 1.621 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.049707088153809]