Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_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_9_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.001491/0.001491, allocations: 108 kB / 15.61 MB, free: 152 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.001759/0.001759, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.532/2.532, allocations: 390.2 MB / 0.6646 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.8552, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001871/0.8572, allocations: 0.6881 MB / 0.9503 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.8579, allocations: 0.8407 MB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.8579, allocations: 4 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.858, allocations: 3.938 kB / 0.9511 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.8581, allocations: 9.016 kB / 0.9511 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.8582, allocations: 20.48 kB / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.482e-05/0.8583, allocations: 54.7 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.8584, allocations: 10.28 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.8585, allocations: 22.64 kB / 0.9512 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.8585, allocations: 27.53 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.8586, allocations: 3.844 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.8586, allocations: 3.812 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.8586, allocations: 14.39 kB / 0.9513 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.8587, allocations: 19.7 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.706e-05/0.8587, allocations: 43.31 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8588, allocations: 0 / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8588, allocations: 1.031 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.8588, allocations: 0 / 0.9513 GB, free: 7.723 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.0004649/0.8592, allocations: 363.8 kB / 0.9517 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.8593, allocations: 10.03 kB / 0.9517 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.8593, allocations: 3.812 kB / 0.9517 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.8594, allocations: 174.6 kB / 0.9518 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.8595, allocations: 6.062 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.8595, allocations: 1.906 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.8597, allocations: 73.33 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.8597, allocations: 0 / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.8597, allocations: 0 / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.8597, allocations: 5.625 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.8599, allocations: 50.81 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.8603, allocations: 285.7 kB / 0.9522 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.8605, allocations: 63.67 kB / 0.9523 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.8607, allocations: 35.03 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.8607, allocations: 1.344 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.8607, allocations: 30.56 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.8607, allocations: 1.312 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003848/0.8611, allocations: 112.8 kB / 0.9525 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.8611, allocations: 55.41 kB / 0.9525 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.408e-05/0.8612, allocations: 111.3 kB / 0.9526 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.8612, allocations: 25.7 kB / 0.9527 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/0.8612, allocations: 90.84 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.8613, allocations: 13 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.8613, allocations: 18.03 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.8613, allocations: 319.9 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.389e-05/0.8614, allocations: 32.23 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-05/0.8615, allocations: 28.56 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.8617, allocations: 53.94 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.8617, allocations: 1.25 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002078/0.8619, allocations: 80.3 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.862, allocations: 12.94 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.862, allocations: 0 / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.862, allocations: 1.156 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.8621, allocations: 11.45 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.8621, allocations: 1.062 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.8622, allocations: 11.83 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-06/0.8622, allocations: 2.125 kB / 0.9533 GB, free: 5.762 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,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 5.305e-05/0.8623, allocations: 112 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.8623, allocations: 10.09 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.8623, allocations: 8.938 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8623, allocations: 336 / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.8623, allocations: 5.031 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8623, allocations: 0 / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.8625, allocations: 180.8 kB / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8625, allocations: 0 / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.177e-05/0.8626, allocations: 11.27 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.8626, allocations: 0 / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.8626, allocations: 6.219 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.8626, allocations: 4 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8626, allocations: 0 / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.8628, allocations: 180.2 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.8628, allocations: 82.02 kB / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.8629, allocations: 5.141 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.276e-05/0.863, allocations: 3.844 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.863, allocations: 16.11 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.863, allocations: 0.9375 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.254e-05/0.8631, allocations: 93.92 kB / 0.954 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8631, allocations: 0 / 0.954 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002083/0.8633, allocations: 6.469 kB / 0.954 GB, free: 5.035 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 (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.0001134/0.8634, allocations: 101.1 kB / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.8637, allocations: 66.91 kB / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8637, allocations: 5.188 kB / 0.9542 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.8638, allocations: 33.62 kB / 0.9542 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.8641, allocations: 10.69 kB / 0.9542 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.8644, allocations: 128.4 kB / 0.9543 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.8645, allocations: 0.6916 MB / 0.955 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.979e-05/0.8646, allocations: 3.906 kB / 0.955 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.8646, allocations: 11.56 kB / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8646, allocations: 0 / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of Templates: time 0.002928/0.8675, allocations: 0.8834 MB / 0.9559 GB, free: 3.594 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches