Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001013/0.001013, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.0009462/0.0009462, allocations: 173 kB / 24.06 MB, free: 456 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 0.9355/0.9355, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.123/2.123, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 4.75 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.209e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001296/0.001318, allocations: 0.7262 MB / 0.8801 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007922/0.00211, allocations: 0.8758 MB / 0.881 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.002149, allocations: 0.9375 kB / 0.881 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.002174, allocations: 3.938 kB / 0.881 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.002249, allocations: 13.55 kB / 0.881 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.002372, allocations: 24.98 kB / 0.881 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.918e-05/0.002441, allocations: 46.86 kB / 0.8811 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.06e-05/0.002522, allocations: 13.08 kB / 0.8811 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.209e-05/0.002594, allocations: 23.92 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.002647, allocations: 19.97 kB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.002664, allocations: 5.125 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.002673, allocations: 7.938 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.002695, allocations: 19.91 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.002714, allocations: 13.25 kB / 0.8812 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.502e-05/0.002789, allocations: 31.88 kB / 0.8812 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.00279, allocations: 0 / 0.8812 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002791, allocations: 1.531 kB / 0.8812 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.002794, allocations: 4 kB / 0.8812 GB, free: 4.23 MB / 0.8386 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.0003082/0.003103, allocations: 376.5 kB / 0.8815 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.003132, allocations: 8.031 kB / 0.8816 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.003159, allocations: 11.97 kB / 0.8816 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.245e-05/0.003231, allocations: 116.6 kB / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.003247, allocations: 384 / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.003255, allocations: 4.375 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.003359, allocations: 70.86 kB / 0.8817 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.003366, allocations: 3.938 kB / 0.8818 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.003373, allocations: 0 / 0.8818 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.003377, allocations: 4 kB / 0.8818 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.695e-05/0.003404, allocations: 8.672 kB / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.003917, allocations: 258 kB / 0.882 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.046e-05/0.003987, allocations: 42.98 kB / 0.8821 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.004007, allocations: 19.66 kB / 0.8821 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.004019, allocations: 0.5 kB / 0.8821 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.004037, allocations: 38.73 kB / 0.8821 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.004038, allocations: 0 / 0.8821 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000125/0.004163, allocations: 61.61 kB / 0.8822 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.004187, allocations: 53 kB / 0.8822 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.305e-05/0.00425, allocations: 170 kB / 0.8824 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.004259, allocations: 25.7 kB / 0.8824 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.004301, allocations: 138.8 kB / 0.8825 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.004315, allocations: 15.84 kB / 0.8826 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.004344, allocations: 27.36 kB / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.004444, allocations: 496.1 kB / 0.8831 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.004459, allocations: 7.984 kB / 0.8831 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.209e-05/0.004471, allocations: 4 kB / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/0.004505, allocations: 23.94 kB / 0.8831 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004507, allocations: 0 / 0.8831 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.932e-05/0.004576, allocations: 57.56 kB / 0.8831 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.004587, allocations: 4 kB / 0.8831 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.004591, allocations: 8 kB / 0.8832 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.004599, allocations: 4 kB / 0.8832 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.004656, allocations: 7.984 kB / 0.8832 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.004658, allocations: 0 / 0.8832 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.672e-05/0.004685, allocations: 7.953 kB / 0.8832 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.004689, allocations: 4 kB / 0.8832 GB, free: 2.004 MB / 0.8386 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,intGreThr.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.001e-05/0.004749, allocations: 156.6 kB / 0.8833 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.004767, allocations: 7.938 kB / 0.8833 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.004787, allocations: 11.98 kB / 0.8833 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004789, allocations: 0 / 0.8833 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.00479, allocations: 0 / 0.8833 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.004793, allocations: 4 kB / 0.8833 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.906e-05/0.004882, allocations: 105.2 kB / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004882, allocations: 0 / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.00491, allocations: 8 kB / 0.8835 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.004911, allocations: 0 / 0.8835 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.004917, allocations: 3.938 kB / 0.8835 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.004918, allocations: 3.984 kB / 0.8835 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.004921, allocations: 3.938 kB / 0.8835 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.868e-05/0.005019, allocations: 199.9 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-06/0.005026, allocations: 0 / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.005036, allocations: 11.94 kB / 0.8837 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.005074, allocations: 7.984 kB / 0.8837 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.005111, allocations: 11.98 kB / 0.8837 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.005113, allocations: 0 / 0.8837 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.005148, allocations: 131.2 kB / 0.8838 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005148, allocations: 4 kB / 0.8838 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001344/0.005282, allocations: 7.938 kB / 0.8838 GB, free: 1.281 MB / 0.8386 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 (intGreThr.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 6.75e-05/0.00535, allocations: 95.25 kB / 0.8839 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.252e-05/0.005422, allocations: 31.61 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.005423, allocations: 4 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/0.005457, allocations: 23.67 kB / 0.884 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.005628, allocations: 8.453 kB / 0.884 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.005835, allocations: 126.3 kB / 0.8841 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.832e-05/0.005864, allocations: 55.36 kB / 0.8842 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.005889, allocations: 8 kB / 0.8842 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.005945, allocations: 82.19 kB / 0.8842 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.005945, allocations: 0 / 0.8842 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of Templates: time 0.002253/0.008198, allocations: 1.08 MB / 0.8853 GB, free: 15.72 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.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.270267982035875]