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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001158/0.001158, allocations: 100.1 kB / 15.88 MB, free: 8 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.001247/0.001247, allocations: 198 kB / 16.79 MB, free: 6.828 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.367/1.367, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6649 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.88 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7202/0.7216, allocations: 140.3 MB / 0.9496 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001908/0.7236, allocations: 0.7643 MB / 0.9503 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.7243, allocations: 0.8336 MB / 0.9512 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.7244, allocations: 5.375 kB / 0.9512 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.7244, allocations: 3.938 kB / 0.9512 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.7245, allocations: 4 kB / 0.9512 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.7246, allocations: 17.48 kB / 0.9512 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.7247, allocations: 41.78 kB / 0.9512 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.7248, allocations: 9.5 kB / 0.9512 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.252e-05/0.7249, allocations: 26.72 kB / 0.9513 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.725, allocations: 26.78 kB / 0.9513 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.725, allocations: 2.75 kB / 0.9513 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.725, allocations: 2.75 kB / 0.9513 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.725, allocations: 9.312 kB / 0.9513 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.7251, allocations: 20.03 kB / 0.9513 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.611e-05/0.7251, allocations: 34.81 kB / 0.9513 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7251, allocations: 3.938 kB / 0.9514 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.32e-07/0.7251, allocations: 0 / 0.9514 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.7252, allocations: 0 / 0.9514 GB, free: 7.988 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.000451/0.7256, allocations: 356.7 kB / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7257, allocations: 9.625 kB / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.7257, allocations: 3.688 kB / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.7258, allocations: 175 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.7258, allocations: 5.75 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.7259, allocations: 7.109 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.726, allocations: 71.59 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.7261, allocations: 0 / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.7261, allocations: 1.375 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.7261, allocations: 4 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.7263, allocations: 51.08 kB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.7267, allocations: 286.5 kB / 0.9523 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.7269, allocations: 68.55 kB / 0.9523 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.845e-05/0.727, allocations: 34.19 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.727, allocations: 1.344 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.129e-05/0.727, allocations: 30.56 kB / 0.9524 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.727, allocations: 0 / 0.9524 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003904/0.7274, allocations: 113 kB / 0.9525 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.7274, allocations: 52.59 kB / 0.9526 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.7275, allocations: 107.4 kB / 0.9527 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.7275, allocations: 29.64 kB / 0.9527 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.7276, allocations: 90.58 kB / 0.9528 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.7276, allocations: 17.08 kB / 0.9528 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.7276, allocations: 17.31 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.033e-05/0.7277, allocations: 320 kB / 0.9531 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-05/0.7278, allocations: 25.3 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.042e-05/0.7279, allocations: 28.66 kB / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.7281, allocations: 49.19 kB / 0.9532 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7281, allocations: 1.344 kB / 0.9532 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000218/0.7283, allocations: 80.47 kB / 0.9533 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7283, allocations: 14.91 kB / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.7283, allocations: 0 / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.7283, allocations: 0 / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.7285, allocations: 19.61 kB / 0.9533 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.7285, allocations: 5.328 kB / 0.9533 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.7286, allocations: 3.531 kB / 0.9533 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.7286, allocations: 2.062 kB / 0.9533 GB, free: 6.035 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.629e-05/0.7286, allocations: 115.8 kB / 0.9535 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.7287, allocations: 10.03 kB / 0.9535 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.7287, allocations: 9.297 kB / 0.9535 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.7287, allocations: 1.156 kB / 0.9535 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7287, allocations: 0 / 0.9535 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7287, allocations: 3.984 kB / 0.9535 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.7288, allocations: 176.2 kB / 0.9536 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.7289, allocations: 0 / 0.9536 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.88e-05/0.7289, allocations: 16.33 kB / 0.9537 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.729, allocations: 0 / 0.9537 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.729, allocations: 1.25 kB / 0.9537 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.729, allocations: 4 kB / 0.9537 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.729, allocations: 1.438 kB / 0.9537 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.7292, allocations: 183.8 kB / 0.9538 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.7293, allocations: 82.39 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.7293, allocations: 0 / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.7294, allocations: 8.859 kB / 0.9539 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.7294, allocations: 15.48 kB / 0.9539 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.7295, allocations: 1.281 kB / 0.9539 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.904e-05/0.7295, allocations: 89.02 kB / 0.954 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7295, allocations: 0 / 0.954 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002181/0.7297, allocations: 7.531 kB / 0.954 GB, free: 5.309 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 9.963e-05/0.7298, allocations: 101.9 kB / 0.9541 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.7301, allocations: 58.47 kB / 0.9542 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7301, allocations: 3.938 kB / 0.9542 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.7302, allocations: 29.55 kB / 0.9542 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.7305, allocations: 12.81 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.7308, allocations: 170.6 kB / 0.9544 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.7309, allocations: 0.684 MB / 0.9551 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.731, allocations: 18.23 kB / 0.9551 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.731, allocations: 0 / 0.9551 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of Templates: time 0.001943/0.7329, allocations: 0.8036 MB / 0.9559 GB, free: 3.871 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