Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00221/0.00221, allocations: 195.2 kB / 16.14 MB, free: 6.629 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.596/1.596, allocations: 222.9 MB / 239.8 MB, free: 4.613 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 3.012/3.012, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.936/0.938, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002349/0.9405, allocations: 0.7735 MB / 1.017 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.9415, allocations: 0.8312 MB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.9416, allocations: 4 kB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.9416, allocations: 0 / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.608e-05/0.9417, allocations: 3.938 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.9418, allocations: 19.98 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.9419, allocations: 47.84 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.9421, allocations: 15.98 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.052e-05/0.9421, allocations: 15.98 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.719e-05/0.9422, allocations: 23.84 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.9422, allocations: 4 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.684e-05/0.9423, allocations: 4 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.9423, allocations: 11.97 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.9423, allocations: 15.88 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.9424, allocations: 43.86 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9425, allocations: 7.938 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.72e-07/0.9425, allocations: 0 / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.9425, allocations: 0 / 1.018 GB, free: 0.957 MB / 0.7637 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.0007136/0.9432, allocations: 365.2 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.9433, allocations: 8.031 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.9433, allocations: 4.938 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.9436, allocations: 172.3 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.9436, allocations: 4.375 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.9436, allocations: 8.375 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.9438, allocations: 65.78 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.9439, allocations: 0 / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.9439, allocations: 3.984 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.9439, allocations: 4 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.9441, allocations: 51.89 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.9446, allocations: 284.8 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.9449, allocations: 62.53 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.945, allocations: 32.92 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.945, allocations: 0 / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.9451, allocations: 38.5 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.9451, allocations: 0 / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000438/0.9455, allocations: 113.5 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.9456, allocations: 55.34 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.9457, allocations: 109.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.9457, allocations: 29.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.9458, allocations: 88.14 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.9458, allocations: 15.81 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.9458, allocations: 21.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.946, allocations: 318.8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.9461, allocations: 23.97 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.9462, allocations: 27.92 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.9464, allocations: 52.81 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9464, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000251/0.9467, allocations: 81.92 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9467, allocations: 8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9467, allocations: 48 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.9468, allocations: 3.984 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.9469, allocations: 11.98 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.9469, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.947, allocations: 15.98 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.947, allocations: 0 / 1.02 GB, free: 14.7 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,intLesEquThr.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 0.0001047/0.9471, allocations: 117.7 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.9472, allocations: 3.906 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.9472, allocations: 11.91 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9472, allocations: 3.984 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.9472, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9472, allocations: 3.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.9475, allocations: 173.6 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9475, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.9476, allocations: 11.98 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.9476, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.9476, allocations: 7.984 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.9476, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.9476, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.9479, allocations: 183.4 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.948, allocations: 88.95 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.948, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.9481, allocations: 11.98 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.9482, allocations: 11.98 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.9482, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.9483, allocations: 87.28 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9483, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002133/0.9485, allocations: 8 kB / 1.021 GB, free: 13.88 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 (intLesEquThr.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.0001489/0.9487, allocations: 107.7 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.9489, allocations: 51.95 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9489, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.9491, allocations: 35.91 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.9494, allocations: 7.938 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.9498, allocations: 147.2 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.9502, allocations: 0.677 MB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.542e-05/0.9503, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.9503, allocations: 23.42 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.9503, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of Templates: time 0.003539/0.9539, allocations: 0.765 MB / 1.023 GB, free: 12 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches