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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001785/0.001785, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00249/0.00249, allocations: 197.8 kB / 16.14 MB, free: 6.719 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.615/1.615, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.119/3.119, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 70.36 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4189, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002759/0.4217, allocations: 0.7703 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.4232, allocations: 0.8313 MB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.4233, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.54e-05/0.4233, allocations: 7.875 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.4235, allocations: 3.984 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.4237, allocations: 23.97 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.4238, allocations: 35.92 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.424, allocations: 19.98 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.4241, allocations: 19.86 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.4242, allocations: 27.91 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.4242, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.4242, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/0.4243, allocations: 11.92 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.4243, allocations: 15.94 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.4245, allocations: 47.84 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4245, allocations: 4 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.572e-06/0.4245, allocations: 0 / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.4245, allocations: 0 / 1.069 GB, free: 9.02 MB / 0.8262 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.0006912/0.4252, allocations: 351.7 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4253, allocations: 8.031 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.4253, allocations: 8.844 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4255, allocations: 164.4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4255, allocations: 8.312 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.4256, allocations: 8.359 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.4258, allocations: 73.72 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4259, allocations: 0 / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.4259, allocations: 3.984 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.4259, allocations: 0 / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.4261, allocations: 51.95 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.4267, allocations: 296.7 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.427, allocations: 70.47 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.4271, allocations: 28.91 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.4271, allocations: 3.938 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.4272, allocations: 38.56 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4272, allocations: 0 / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004261/0.4276, allocations: 101.6 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.4276, allocations: 55.41 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/0.4277, allocations: 109.8 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.4278, allocations: 25.7 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.4278, allocations: 96.05 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.4279, allocations: 3.906 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.4279, allocations: 21.7 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.428, allocations: 318.8 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.4281, allocations: 23.97 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.4282, allocations: 27.97 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.4284, allocations: 48.83 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4284, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002412/0.4287, allocations: 93.55 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4287, allocations: 4 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.4287, allocations: 0 / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4287, allocations: 3.938 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.4289, allocations: 11.98 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4289, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.053e-05/0.429, allocations: 15.98 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.429, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 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.801e-05/0.4291, allocations: 123.2 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.4291, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.4291, allocations: 7.891 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4292, allocations: 0 / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4292, allocations: 4 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4292, allocations: 336 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.4294, allocations: 181.5 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4294, allocations: 4 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.4295, allocations: 11.98 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4295, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4295, allocations: 4 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4295, allocations: 0 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4295, allocations: 3.984 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.4298, allocations: 191.3 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.4299, allocations: 77.11 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.4299, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.43, allocations: 11.98 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.4301, allocations: 7.984 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4301, allocations: 4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.4301, allocations: 91.2 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4301, allocations: 0 / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002275/0.4304, allocations: 8 kB / 1.072 GB, free: 5.945 MB / 0.8262 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.0001896/0.4306, allocations: 107.2 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.4309, allocations: 55.89 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4309, allocations: 0 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.431, allocations: 31.97 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.4314, allocations: 12.55 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.4318, allocations: 139.2 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.4322, allocations: 0.6809 MB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.655e-05/0.4322, allocations: 7.984 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.4323, allocations: 11.44 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.4323, allocations: 4 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.003335/0.4356, allocations: 0.7714 MB / 1.074 GB, free: 4.078 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches