Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001493, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.2 MB / 0.6647 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 59.91 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8868/0.8882, allocations: 140.4 MB / 0.9496 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002263/0.8905, allocations: 0.6841 MB / 0.9503 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.8917, allocations: 0.8432 MB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.8917, allocations: 1.25 kB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.45e-05/0.8918, allocations: 7.922 kB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.863e-05/0.8919, allocations: 3.938 kB / 0.9511 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.8921, allocations: 21.08 kB / 0.9511 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.8922, allocations: 49.98 kB / 0.9512 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.8924, allocations: 10.44 kB / 0.9512 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.8925, allocations: 23.55 kB / 0.9512 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.102e-05/0.8926, allocations: 30.03 kB / 0.9512 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.8926, allocations: 5.125 kB / 0.9512 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.922e-05/0.8926, allocations: 4.125 kB / 0.9512 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.8927, allocations: 13.23 kB / 0.9513 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.8927, allocations: 19.73 kB / 0.9513 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.8928, allocations: 47.47 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.8928, allocations: 1.156 kB / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8928, allocations: 0 / 0.9513 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.8928, allocations: 0 / 0.9513 GB, free: 7.672 MB / 0.7169 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.0005479/0.8934, allocations: 368 kB / 0.9517 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.8935, allocations: 9.469 kB / 0.9517 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.8935, allocations: 3.844 kB / 0.9517 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.8937, allocations: 167 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.8937, allocations: 1.875 kB / 0.9518 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.8937, allocations: 11.56 kB / 0.9519 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.894, allocations: 75.44 kB / 0.9519 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.894, allocations: 0 / 0.9519 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.894, allocations: 7.938 kB / 0.9519 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.894, allocations: 1.062 kB / 0.9519 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.8942, allocations: 51.31 kB / 0.952 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.8947, allocations: 282.8 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.8949, allocations: 68.28 kB / 0.9523 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.895, allocations: 29.92 kB / 0.9523 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.895, allocations: 5.625 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.8951, allocations: 34.56 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.8951, allocations: 0 / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004482/0.8955, allocations: 109.3 kB / 0.9525 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.8956, allocations: 56.52 kB / 0.9525 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.8957, allocations: 106.2 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.8957, allocations: 31.06 kB / 0.9527 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.8957, allocations: 81.55 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.8958, allocations: 17.12 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.8958, allocations: 21.86 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.8959, allocations: 324.3 kB / 0.9531 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.896, allocations: 20.7 kB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.8961, allocations: 24.69 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.8963, allocations: 53.5 kB / 0.9532 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8963, allocations: 5.156 kB / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002524/0.8966, allocations: 84.95 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.8966, allocations: 4.781 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.8966, allocations: 0 / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.8967, allocations: 1.062 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.8968, allocations: 16.02 kB / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.8969, allocations: 0 / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/0.8969, allocations: 8.297 kB / 0.9533 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.897, allocations: 2.25 kB / 0.9533 GB, free: 5.715 MB / 0.7169 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.67e-05/0.897, allocations: 120.1 kB / 0.9534 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.8971, allocations: 4.969 kB / 0.9534 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.8971, allocations: 9.281 kB / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.8971, allocations: 1.609 kB / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8971, allocations: 0 / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8971, allocations: 3.938 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.8973, allocations: 176.2 kB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8973, allocations: 0 / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.615e-05/0.8974, allocations: 15.56 kB / 0.9536 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.8974, allocations: 1.281 kB / 0.9536 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.8974, allocations: 0 / 0.9536 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8974, allocations: 5.219 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8974, allocations: 3.984 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.8977, allocations: 180.2 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.8977, allocations: 86.19 kB / 0.9539 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.8978, allocations: 9.156 kB / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.8979, allocations: 8.312 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.898, allocations: 11.48 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.898, allocations: 5.016 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.898, allocations: 81.91 kB / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.898, allocations: 0 / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002351/0.8983, allocations: 10.62 kB / 0.954 GB, free: 4.98 MB / 0.7169 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.0001344/0.8984, allocations: 101.6 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002793/0.8987, allocations: 67.44 kB / 0.9542 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8987, allocations: 0 / 0.9542 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.8988, allocations: 34.41 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.8992, allocations: 2.812 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004096/0.8996, allocations: 137.4 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.8997, allocations: 0.6881 MB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.507e-05/0.8998, allocations: 3.188 kB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.8998, allocations: 11.16 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8998, allocations: 0 / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of Templates: time 0.003412/0.9033, allocations: 0.8781 MB / 0.9559 GB, free: 3.547 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches