Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00101/0.00101, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009112/0.009112, allocations: 173 kB / 16.26 MB, free: 6.613 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.508/1.508, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005324/0.000533, allocations: 12 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9142/0.9147, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001012/0.9158, allocations: 445.1 kB / 1.023 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.9168, allocations: 0.8273 MB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.607e-05/0.9169, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.9169, allocations: 3.938 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.931e-05/0.917, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.9172, allocations: 27.91 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.641e-05/0.9173, allocations: 43.91 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.9174, allocations: 8 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.9175, allocations: 19.92 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.9176, allocations: 31.83 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.9176, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.9177, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.9177, allocations: 8 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.9178, allocations: 45.56 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.674e-05/0.9179, allocations: 39.84 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9179, allocations: 4 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9179, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.9179, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 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.000613/0.9185, allocations: 353.4 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9186, allocations: 12.03 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.9186, allocations: 8.844 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.9188, allocations: 172.3 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.9188, allocations: 384 / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.9188, allocations: 4.375 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.919, allocations: 73.72 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.919, allocations: 3.984 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.9191, allocations: 7.938 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.9191, allocations: 4 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.9193, allocations: 63.94 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.9198, allocations: 292.8 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.92, allocations: 62.53 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.9201, allocations: 40.86 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.9202, allocations: 4 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.9202, allocations: 30.56 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.9202, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004507/0.9207, allocations: 129.5 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.9208, allocations: 55.39 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.9209, allocations: 113.7 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.9209, allocations: 29.69 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.921, allocations: 88.14 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.921, allocations: 7.844 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.921, allocations: 17.72 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9211, allocations: 322.8 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.9212, allocations: 23.98 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.9214, allocations: 31.97 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.9216, allocations: 64.81 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.9216, allocations: 4 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002406/0.9218, allocations: 89.56 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.9219, allocations: 8 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.9219, allocations: 3.938 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.9219, allocations: 3.984 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.922, allocations: 19.98 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.922, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.9221, allocations: 12 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.9221, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 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 9.659e-05/0.9222, allocations: 122.3 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.9222, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.9223, allocations: 7.906 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.9223, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.9223, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.9223, allocations: 336 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.9225, allocations: 177.5 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9225, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.9226, allocations: 15.98 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9226, allocations: 4 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.9226, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.9226, allocations: 4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9226, allocations: 3.984 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.923, allocations: 203.3 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.923, allocations: 77.11 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.923, allocations: 7.938 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.9231, allocations: 7.984 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.9232, allocations: 11.98 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.9232, allocations: 4 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.785e-05/0.9233, allocations: 83.27 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9233, allocations: 4 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002317/0.9235, allocations: 15.91 kB / 1.027 GB, free: 11.14 MB / 0.7794 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.0001287/0.9237, allocations: 103.2 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.924, allocations: 67.88 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.924, allocations: 4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.9241, allocations: 39.97 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.9244, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.9247, allocations: 136.7 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.925, allocations: 0.6809 MB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.516e-05/0.925, allocations: 7.984 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.9251, allocations: 11.44 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.9251, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.003011/0.9281, allocations: 0.7684 MB / 1.029 GB, free: 9.266 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches