Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0009186/0.0009186, allocations: 81.17 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.0009427/0.0009427, allocations: 169 kB / 23.27 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.9195/0.9195, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.337/2.337, allocations: 438.1 MB / 0.682 GB, free: 14.15 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.702e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001634/0.001651, allocations: 0.7173 MB / 0.8905 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.002723, allocations: 0.882 MB / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.002765, allocations: 0 / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.002794, allocations: 3.938 kB / 0.8913 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.967e-05/0.002873, allocations: 7.922 kB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.003008, allocations: 19.92 kB / 0.8914 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.915e-05/0.003088, allocations: 55.77 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.003183, allocations: 8 kB / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.003273, allocations: 27.97 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.00333, allocations: 23.91 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.003351, allocations: 8 kB / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.003361, allocations: 4 kB / 0.8915 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.003384, allocations: 11.98 kB / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.003408, allocations: 7.938 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.811e-05/0.003496, allocations: 39.88 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003498, allocations: 0 / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003499, allocations: 0 / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.625e-06/0.003501, allocations: 0 / 0.8915 GB, free: 7.922 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.0003737/0.003875, allocations: 380.5 kB / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.003913, allocations: 8.922 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.003944, allocations: 4.938 kB / 0.8919 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.145e-05/0.004025, allocations: 120.5 kB / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.004041, allocations: 384 / 0.892 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.004058, allocations: 12.36 kB / 0.892 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.004187, allocations: 66.86 kB / 0.8921 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.004195, allocations: 3.938 kB / 0.8921 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.004204, allocations: 4 kB / 0.8921 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.004209, allocations: 4 kB / 0.8921 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.004246, allocations: 7.984 kB / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.004531, allocations: 264.2 kB / 0.8924 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.004615, allocations: 51.11 kB / 0.8924 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.00464, allocations: 19.66 kB / 0.8924 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.004656, allocations: 0 / 0.8924 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.004677, allocations: 37.42 kB / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.004678, allocations: 0 / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.000151/0.004829, allocations: 57.62 kB / 0.8925 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.004856, allocations: 51.41 kB / 0.8926 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.005048, allocations: 165.9 kB / 0.8927 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.00506, allocations: 25.7 kB / 0.8928 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.005112, allocations: 142.8 kB / 0.8929 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.00513, allocations: 7.938 kB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.005168, allocations: 23.36 kB / 0.8929 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.005296, allocations: 496.1 kB / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.005314, allocations: 4 kB / 0.8934 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.00533, allocations: 4 kB / 0.8934 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.005374, allocations: 23.67 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.005375, allocations: 0 / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.77e-05/0.005463, allocations: 61.52 kB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.005474, allocations: 4 kB / 0.8935 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.005478, allocations: 8 kB / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.005488, allocations: 0 / 0.8935 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.005563, allocations: 7.984 kB / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-06/0.005565, allocations: 0 / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.005599, allocations: 4 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.005605, allocations: 4 kB / 0.8935 GB, free: 5.691 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,intLesThr.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 7.509e-05/0.00568, allocations: 156.6 kB / 0.8937 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.005706, allocations: 7.938 kB / 0.8937 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.005733, allocations: 16.25 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005735, allocations: 0 / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.005736, allocations: 4 kB / 0.8937 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.00574, allocations: 3.984 kB / 0.8937 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.005869, allocations: 105.2 kB / 0.8938 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.005871, allocations: 0 / 0.8938 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.005912, allocations: 11.94 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.005914, allocations: 4 kB / 0.8938 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.005926, allocations: 7.922 kB / 0.8938 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.005927, allocations: 0 / 0.8938 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005928, allocations: 0 / 0.8938 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.006062, allocations: 203.9 kB / 0.894 GB, free: 5.117 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.006071, allocations: 11.94 kB / 0.894 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.006083, allocations: 3.938 kB / 0.894 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.006146, allocations: 7.984 kB / 0.894 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.00619, allocations: 11.98 kB / 0.894 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.006194, allocations: 0 / 0.894 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.006235, allocations: 127.2 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.006235, allocations: 4 kB / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002424/0.006477, allocations: 11.95 kB / 0.8942 GB, free: 4.941 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 (intLesThr.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 7.602e-05/0.006553, allocations: 99.19 kB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.694e-05/0.00663, allocations: 27.67 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006631, allocations: 0 / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.401e-05/0.006665, allocations: 19.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.0002511/0.006916, allocations: 14.5 kB / 0.8943 GB, free: 4.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.007174, allocations: 134.2 kB / 0.8945 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.573e-05/0.007209, allocations: 55.36 kB / 0.8945 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.007248, allocations: 12.23 kB / 0.8945 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.007318, allocations: 74.2 kB / 0.8946 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of SimCode: time 5.21e-07/0.007318, allocations: 0 / 0.8946 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of Templates: time 0.002876/0.01019, allocations: 1.033 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.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_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.088340498972684]