Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001044/0.001044, allocations: 87.58 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.001336/0.001336, 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 1.039/1.039, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.838/1.838, allocations: 359 MB / 0.6052 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 178] 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.7872 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.726e-05/2.95e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001418/0.001447, allocations: 0.8296 MB / 0.788 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.002355, allocations: 0.9287 MB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.002428, allocations: 7.938 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.002549, allocations: 8.5 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.311e-05/0.002582, allocations: 16.72 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.002768, allocations: 41 kB / 0.789 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.69e-05/0.002865, allocations: 75.72 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.002968, allocations: 19.97 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.003097, allocations: 49.31 kB / 0.7891 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.003157, allocations: 19.91 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.003175, allocations: 8 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-05/0.003213, allocations: 8 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.003233, allocations: 12.98 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.003257, allocations: 16 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.003374, allocations: 59.62 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.003376, allocations: 1.562 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003376, allocations: 0 / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.00338, allocations: 0 / 0.7892 GB, free: 10.36 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003734/0.003754, allocations: 414 kB / 0.7896 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.003789, allocations: 8.031 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.003905, allocations: 20.88 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.004067, allocations: 150 kB / 0.7898 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-06/0.004074, allocations: 384 / 0.7898 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.004087, allocations: 4.375 kB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.004198, allocations: 72.62 kB / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.004206, allocations: 192 / 0.7898 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.004217, allocations: 8.359 kB / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.004223, allocations: 384 / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.7e-05/0.00426, allocations: 11.94 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.004573, allocations: 310 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.1e-05/0.004654, allocations: 39.05 kB / 0.7902 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.004677, allocations: 15.69 kB / 0.7902 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.004692, allocations: 0 / 0.7902 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.00471, allocations: 37.39 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.004711, allocations: 0.625 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001347/0.004846, allocations: 55.42 kB / 0.7903 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.004872, allocations: 51.41 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.629e-05/0.004958, allocations: 191.8 kB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.004973, allocations: 29.7 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.00503, allocations: 146.8 kB / 0.7907 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.005046, allocations: 8.469 kB / 0.7907 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.005077, allocations: 28.67 kB / 0.7907 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.005193, allocations: 0.4884 MB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.929e-05/0.005212, allocations: 7.984 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/0.005224, allocations: 0 / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.005256, allocations: 24.78 kB / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.005258, allocations: 0 / 0.7912 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.162e-05/0.005319, allocations: 53.62 kB / 0.7913 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.005331, allocations: 5.375 kB / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005335, allocations: 3.938 kB / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.005347, allocations: 0 / 0.7913 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.005397, allocations: 9.734 kB / 0.7913 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.005401, allocations: 0 / 0.7913 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.005426, allocations: 7.953 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.005432, allocations: 0 / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.587e-05/0.005498, allocations: 157.3 kB / 0.7915 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.005518, allocations: 15.83 kB / 0.7915 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.005542, allocations: 13.17 kB / 0.7915 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.005546, allocations: 8 kB / 0.7915 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.005549, allocations: 0.5 kB / 0.7915 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.005552, allocations: 1.938 kB / 0.7915 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.819e-05/0.00565, allocations: 132.6 kB / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005651, allocations: 0 / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.005664, allocations: 0 / 0.7916 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.005666, allocations: 3.938 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.005673, allocations: 8 kB / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.005674, allocations: 2.219 kB / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005674, allocations: 0 / 0.7917 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.574e-05/0.00577, allocations: 200.2 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.00578, allocations: 7.938 kB / 0.7919 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.005797, allocations: 0 / 0.7919 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.005834, allocations: 4.5 kB / 0.7919 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.005882, allocations: 19.91 kB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.005885, allocations: 0.7188 kB / 0.7919 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.005933, allocations: 141.5 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005933, allocations: 0.5312 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001554/0.006089, allocations: 16.8 kB / 0.792 GB, free: 7.215 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 7.129e-05/0.00616, allocations: 96.09 kB / 0.7921 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.416e-05/0.006244, allocations: 27.67 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.006246, allocations: 1.281 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.163e-05/0.006267, allocations: 15.67 kB / 0.7922 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.006453, allocations: 20.47 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.006904, allocations: 176.3 kB / 0.7923 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.006938, allocations: 59.34 kB / 0.7924 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.456e-05/0.006963, allocations: 4 kB / 0.7924 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.006996, allocations: 25.33 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.006997, allocations: 0 / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of Templates: time 0.002847/0.009844, allocations: 0.9167 MB / 0.7933 GB, free: 5.855 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.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.242480581160635]