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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001509/0.001509, allocations: 107 kB / 16.37 MB, free: 6.477 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.001696/0.001697, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 65.09 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3477, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002039/0.3498, allocations: 0.7109 MB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.3507, allocations: 0.8351 MB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.3508, allocations: 3.938 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.3508, allocations: 3.938 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.91e-05/0.3509, allocations: 11.92 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.351, allocations: 15.98 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.442e-05/0.3511, allocations: 47.84 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3513, allocations: 19.98 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.3513, allocations: 23.92 kB / 1.02 GB, free: 8.133 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.508e-05/0.3514, allocations: 23.91 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3514, allocations: 4 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.3515, allocations: 8 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.3515, allocations: 11.92 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.3515, allocations: 15.94 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.3517, allocations: 51.72 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3517, allocations: 0 / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3517, allocations: 0 / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3517, allocations: 0 / 1.021 GB, free: 8.02 MB / 0.795 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.0005064/0.3522, allocations: 363.3 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3522, allocations: 8.625 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.3523, allocations: 4.938 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3524, allocations: 168.3 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3524, allocations: 384 / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3525, allocations: 4.375 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.3527, allocations: 69.77 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3527, allocations: 0 / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.3527, allocations: 8 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3527, allocations: 7.938 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.3529, allocations: 51.92 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.3533, allocations: 292.7 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.3535, allocations: 66.53 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.3536, allocations: 28.86 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.3537, allocations: 4 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3537, allocations: 34.55 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3537, allocations: 0 / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003765/0.3541, allocations: 109.6 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.3541, allocations: 51.41 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.3542, allocations: 105.8 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3542, allocations: 29.7 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.3543, allocations: 84.14 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3543, allocations: 11.81 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.3544, allocations: 17.7 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3545, allocations: 326.7 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3546, allocations: 27.97 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.454e-05/0.3547, allocations: 19.98 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.3548, allocations: 48.81 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3549, allocations: 0 / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002178/0.3551, allocations: 93.52 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3551, allocations: 8 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3551, allocations: 4 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3551, allocations: 0 / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3552, allocations: 19.92 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3553, allocations: 0 / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.3553, allocations: 7.984 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3554, allocations: 0 / 1.023 GB, free: 5.762 MB / 0.795 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 7.726e-05/0.3554, allocations: 117.8 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.3555, allocations: 3.906 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.3555, allocations: 19.89 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3555, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3555, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3555, allocations: 0 / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.3557, allocations: 181.6 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3557, allocations: 3.984 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/0.3558, allocations: 11.98 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3558, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3558, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3558, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3558, allocations: 4.328 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.3561, allocations: 187.4 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.3562, allocations: 85.02 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3562, allocations: 0 / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3563, allocations: 11.98 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.3563, allocations: 7.984 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.3564, allocations: 4 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.3564, allocations: 87.28 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3564, allocations: 0 / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002215/0.3566, allocations: 4 kB / 1.023 GB, free: 4.949 MB / 0.795 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.0001186/0.3568, allocations: 111.2 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.357, allocations: 51.95 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.357, allocations: 4 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3571, allocations: 35.91 kB / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.3574, allocations: 4 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.3577, allocations: 131.1 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.3579, allocations: 0.6845 MB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.122e-05/0.358, allocations: 8 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.358, allocations: 19.42 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.358, allocations: 0 / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of Templates: time 0.002959/0.361, allocations: 0.8935 MB / 1.025 GB, free: 2.961 MB / 0.795 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=480 -s cvode -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/jenkins1/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