Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0008751/0.0008751, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.0008953/0.0008953, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.959/0.959, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.343/2.343, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.19e-05/3.455e-05, allocations: 9.062 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001911/0.001946, allocations: 0.7134 MB / 0.8905 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.003053, allocations: 0.8819 MB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.003089, allocations: 4 kB / 0.8913 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.00311, allocations: 3.938 kB / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.003167, allocations: 3.938 kB / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.003273, allocations: 23.92 kB / 0.8914 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.003337, allocations: 47.78 kB / 0.8914 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.003398, allocations: 11.98 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.951e-05/0.003468, allocations: 31.97 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.003523, allocations: 15.92 kB / 0.8915 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.003541, allocations: 4 kB / 0.8915 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.003551, allocations: 4 kB / 0.8915 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.003572, allocations: 19.97 kB / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.003599, allocations: 11.94 kB / 0.8915 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.564e-05/0.003695, allocations: 35.88 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003698, allocations: 4 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003699, allocations: 0 / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003703, allocations: 0 / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000437/0.00414, allocations: 376.5 kB / 0.8919 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.004188, allocations: 8.625 kB / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.004225, allocations: 8.938 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.004328, allocations: 116.5 kB / 0.892 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.004349, allocations: 8.375 kB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.004362, allocations: 12.3 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.004497, allocations: 58.94 kB / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.004507, allocations: 3.938 kB / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.00452, allocations: 8 kB / 0.8921 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.004527, allocations: 3.984 kB / 0.8921 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.004566, allocations: 11.98 kB / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.004884, allocations: 260.2 kB / 0.8924 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.145e-05/0.004975, allocations: 51.14 kB / 0.8924 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.005004, allocations: 23.66 kB / 0.8924 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.005021, allocations: 0 / 0.8924 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.005045, allocations: 33.39 kB / 0.8925 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005046, allocations: 4 kB / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001598/0.005206, allocations: 53.62 kB / 0.8925 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.00524, allocations: 51.41 kB / 0.8926 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.918e-05/0.005329, allocations: 165.9 kB / 0.8927 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.005341, allocations: 25.7 kB / 0.8928 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.005399, allocations: 142.8 kB / 0.8929 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.005419, allocations: 7.953 kB / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.005456, allocations: 23.36 kB / 0.8929 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.005601, allocations: 0.4884 MB / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.005619, allocations: 4 kB / 0.8934 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.425e-05/0.005633, allocations: 0 / 0.8934 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.423e-05/0.005678, allocations: 27.67 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005679, allocations: 0 / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.371e-05/0.005773, allocations: 57.52 kB / 0.8935 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.005786, allocations: 8 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.005791, allocations: 0 / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.005802, allocations: 4 kB / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.005869, allocations: 11.98 kB / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.005872, allocations: 0 / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.005903, allocations: 4 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.005908, allocations: 0 / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreEquThr.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 8.41e-05/0.005992, allocations: 156.6 kB / 0.8937 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.006016, allocations: 11.88 kB / 0.8937 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.006043, allocations: 8 kB / 0.8937 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006045, allocations: 0 / 0.8937 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.006047, allocations: 4 kB / 0.8937 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.00605, allocations: 4 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.006171, allocations: 105.2 kB / 0.8938 GB, free: 5.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.006172, allocations: 4 kB / 0.8938 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.144e-05/0.006214, allocations: 12.25 kB / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.006216, allocations: 0 / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.006223, allocations: 3.938 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006225, allocations: 4 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006226, allocations: 4 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.006361, allocations: 199.9 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.006371, allocations: 11.92 kB / 0.894 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.006383, allocations: 11.94 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.006441, allocations: 0 / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.006487, allocations: 11.98 kB / 0.894 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.006491, allocations: 0 / 0.894 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.006535, allocations: 135.2 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006535, allocations: 0 / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002157/0.006751, allocations: 11.95 kB / 0.8942 GB, free: 4.945 MB / 0.8542 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 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001066/0.006857, allocations: 99.19 kB / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.271e-05/0.00694, allocations: 23.67 kB / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006941, allocations: 4 kB / 0.8943 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.006975, allocations: 23.67 kB / 0.8943 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.007202, allocations: 8 kB / 0.8943 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.007485, allocations: 134.2 kB / 0.8945 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.331e-05/0.007528, allocations: 59.34 kB / 0.8945 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.007563, allocations: 8.25 kB / 0.8945 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.007629, allocations: 70.2 kB / 0.8946 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.00763, allocations: 0 / 0.8946 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of Templates: time 0.003211/0.01084, allocations: 1.044 MB / 0.8956 GB, free: 3.422 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.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.147341259755194]