Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008657/0.0008657, allocations: 80.48 kB / 19.93 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.0008213/0.0008213, allocations: 173.9 kB / 23.21 MB, free: 1.34 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.8849/0.8849, allocations: 177.2 MB / 203.5 MB, free: 5.742 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.607/1.607, allocations: 359 MB / 0.6044 GB, free: 11.1 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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.783e-05, allocations: 9.172 kB / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001114/0.001131, allocations: 0.6979 MB / 0.9524 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007033/0.001835, allocations: 0.8587 MB / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.001868, allocations: 0 / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.001897, allocations: 3.938 kB / 0.9533 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.001961, allocations: 3.938 kB / 0.9533 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.002104, allocations: 31.89 kB / 0.9533 GB, free: 1.363 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.915e-05/0.002183, allocations: 43.86 kB / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.002277, allocations: 11.97 kB / 0.9534 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.078e-05/0.002348, allocations: 27.97 kB / 0.9534 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.002394, allocations: 23.91 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.002419, allocations: 4 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.002427, allocations: 8 kB / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.002444, allocations: 8 kB / 0.9534 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.002466, allocations: 19.91 kB / 0.9534 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.615e-05/0.002552, allocations: 43.86 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.002555, allocations: 4 kB / 0.9535 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002555, allocations: 0 / 0.9535 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.002559, allocations: 0 / 0.9535 GB, free: 1.172 MB / 0.9011 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.0003649/0.002924, allocations: 287.8 kB / 0.9538 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.002957, allocations: 8.031 kB / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.002986, allocations: 8.938 kB / 0.9538 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.678e-05/0.003083, allocations: 121.7 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.003098, allocations: 4.375 kB / 0.9539 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.003109, allocations: 4.375 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.003239, allocations: 70.2 kB / 0.954 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.003247, allocations: 3.938 kB / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.003256, allocations: 0 / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.00326, allocations: 0 / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.003369, allocations: 55.89 kB / 0.954 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.003644, allocations: 228.5 kB / 0.9542 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.003762, allocations: 62.47 kB / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.003816, allocations: 28.92 kB / 0.9543 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.003829, allocations: 0 / 0.9543 GB, free: 212 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.003849, allocations: 42.48 kB / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 6.92e-07/0.00385, allocations: 0 / 0.9544 GB, free: 160 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002467/0.004097, allocations: 109.6 kB / 0.9545 GB, free: 44 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.004133, allocations: 51.41 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.772e-05/0.004191, allocations: 105.8 kB / 0.9546 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.004202, allocations: 25.7 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.004241, allocations: 96.03 kB / 0.9547 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.004255, allocations: 3.953 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.004284, allocations: 21.7 kB / 0.9548 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.004359, allocations: 314.8 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.004412, allocations: 27.97 kB / 0.9551 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.004459, allocations: 27.92 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.312e-05/0.004552, allocations: 48.81 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.004555, allocations: 3.938 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.004677, allocations: 85.59 kB / 0.9552 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.004688, allocations: 8 kB / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.004692, allocations: 0 / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.004703, allocations: 0 / 0.9553 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.707e-05/0.00477, allocations: 23.92 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.004774, allocations: 0 / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.004806, allocations: 7.984 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.00481, allocations: 0 / 0.9553 GB, free: 15.15 MB / 0.9167 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 5.35e-05/0.004864, allocations: 118 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.004878, allocations: 8 kB / 0.9554 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.953e-05/0.004898, allocations: 11.97 kB / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.004899, allocations: 0 / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.004902, allocations: 0 / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.004905, allocations: 0 / 0.9554 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.591e-05/0.005001, allocations: 125.4 kB / 0.9555 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005002, allocations: 3.938 kB / 0.9555 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.005036, allocations: 15.92 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.005038, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.005044, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005044, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005045, allocations: 0 / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.005198, allocations: 192 kB / 0.9557 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.005205, allocations: 3.938 kB / 0.9557 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.005215, allocations: 4 kB / 0.9557 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.00526, allocations: 7.984 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.005304, allocations: 11.98 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.005308, allocations: 4 kB / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.055e-05/0.005338, allocations: 91.56 kB / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005338, allocations: 0 / 0.9559 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001406/0.005479, allocations: 15.89 kB / 0.9559 GB, free: 14.49 MB / 0.9167 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 6.526e-05/0.005544, allocations: 99.19 kB / 0.956 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.005688, allocations: 59.94 kB / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.00569, allocations: 0 / 0.956 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.005744, allocations: 35.91 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.005924, allocations: 7.938 kB / 0.9561 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.006174, allocations: 146.5 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.006216, allocations: 75.27 kB / 0.9563 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.006248, allocations: 16.5 kB / 0.9563 GB, free: 14 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.006248, allocations: 3.938 kB / 0.9563 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of Templates: time 0.001402/0.00765, allocations: 0.8272 MB / 0.9571 GB, free: 13.18 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.2671061577275395]