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.001658/0.001658, allocations: 103.8 kB / 15.98 MB, free: 5.891 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.001984/0.001984, allocations: 185.5 kB / 16.91 MB, free: 5.746 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.485/1.485, allocations: 222.9 MB / 240.6 MB, free: 4.41 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.478/2.478, allocations: 390.2 MB / 0.665 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 0.8127 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6796/0.6811, allocations: 140.4 MB / 0.9498 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001797/0.6829, allocations: 0.7599 MB / 0.9505 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006627/0.6836, allocations: 0.8376 MB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.6837, allocations: 5.281 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.6837, allocations: 3.938 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.6838, allocations: 1.344 kB / 0.9514 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.6839, allocations: 19.62 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.684, allocations: 43.39 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.6841, allocations: 14.61 kB / 0.9514 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.6841, allocations: 22.14 kB / 0.9514 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.6842, allocations: 26.72 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.6842, allocations: 8.406 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.6842, allocations: 3.844 kB / 0.9515 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.6843, allocations: 14.64 kB / 0.9515 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.6843, allocations: 18.86 kB / 0.9515 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.072e-05/0.6843, allocations: 35.23 kB / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6844, allocations: 0 / 0.9516 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6844, allocations: 3.938 kB / 0.9516 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.6844, allocations: 0 / 0.9516 GB, free: 7.715 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.0003994/0.6848, allocations: 360.9 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.6848, allocations: 13.22 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.6849, allocations: 3.688 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.182e-05/0.6849, allocations: 166.9 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.685, allocations: 1.781 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.685, allocations: 2.938 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.6852, allocations: 67.81 kB / 0.9521 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.6852, allocations: 7.922 kB / 0.9522 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.6852, allocations: 5.188 kB / 0.9522 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6852, allocations: 3.984 kB / 0.9522 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.6854, allocations: 51.3 kB / 0.9522 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.6857, allocations: 287.1 kB / 0.9525 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.6859, allocations: 71.59 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.496e-05/0.686, allocations: 30.3 kB / 0.9526 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.686, allocations: 1.219 kB / 0.9526 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.109e-05/0.6861, allocations: 35.89 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6861, allocations: 0 / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000369/0.6864, allocations: 108.4 kB / 0.9527 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.6865, allocations: 56.72 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.6865, allocations: 106.5 kB / 0.9529 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.6865, allocations: 25.7 kB / 0.9529 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.6866, allocations: 90.08 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.6866, allocations: 17.28 kB / 0.953 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.6866, allocations: 18.17 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.825e-05/0.6867, allocations: 320.1 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.631e-05/0.6868, allocations: 29.25 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.6869, allocations: 20.64 kB / 0.9534 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.687, allocations: 49.09 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.687, allocations: 1.156 kB / 0.9534 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002042/0.6872, allocations: 84.23 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.6873, allocations: 9.469 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.6873, allocations: 3.938 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6873, allocations: 1.281 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.6874, allocations: 16.17 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6874, allocations: 0 / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.6875, allocations: 7.953 kB / 0.9535 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.6875, allocations: 1.375 kB / 0.9535 GB, free: 5.766 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 5.247e-05/0.6876, allocations: 116.3 kB / 0.9536 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.6876, allocations: 6.5 kB / 0.9537 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.6876, allocations: 13.11 kB / 0.9537 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.6876, allocations: 0 / 0.9537 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6876, allocations: 1.281 kB / 0.9537 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.6876, allocations: 0 / 0.9537 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.6878, allocations: 175 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6878, allocations: 5.312 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.699e-05/0.6879, allocations: 12 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6879, allocations: 0 / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.6879, allocations: 5.078 kB / 0.9539 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6879, allocations: 320 / 0.9539 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6879, allocations: 5 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.6881, allocations: 187.4 kB / 0.954 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.6882, allocations: 82.14 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.6882, allocations: 1.062 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.6883, allocations: 8.172 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.6883, allocations: 16.39 kB / 0.9541 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.6884, allocations: 5.219 kB / 0.9541 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.64e-05/0.6884, allocations: 89.05 kB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6884, allocations: 0 / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002188/0.6886, allocations: 6.469 kB / 0.9542 GB, free: 5.031 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 8.937e-05/0.6887, allocations: 110.1 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.689, allocations: 54.17 kB / 0.9544 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.689, allocations: 5.094 kB / 0.9544 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.6891, allocations: 29.56 kB / 0.9544 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.6893, allocations: 6.156 kB / 0.9544 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.6896, allocations: 172.3 kB / 0.9546 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.545e-05/0.6897, allocations: 0.6887 MB / 0.9553 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.6898, allocations: 10.59 kB / 0.9553 GB, free: 4 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.6898, allocations: 3.938 kB / 0.9553 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of Templates: time 0.001909/0.6917, allocations: 0.8195 MB / 0.9561 GB, free: 3.586 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/jenkins1/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