Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001034/0.001034, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009146/0.009146, allocations: 169 kB / 16.26 MB, free: 6.652 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.593/1.593, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.111/3.111, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 12.05 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3771, allocations: 159.6 MB / 1.059 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0008892/0.378, allocations: 439.5 kB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009243/0.379, allocations: 0.8313 MB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.379, allocations: 0 / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.379, allocations: 3.938 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.3791, allocations: 0 / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.3793, allocations: 27.91 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.3794, allocations: 43.92 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.3795, allocations: 15.92 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.32e-05/0.3795, allocations: 15.98 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.3796, allocations: 23.84 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3796, allocations: 4 kB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.3796, allocations: 0 / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.3797, allocations: 11.98 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.395e-05/0.3797, allocations: 45.52 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.262e-05/0.3798, allocations: 43.84 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3798, allocations: 0 / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3798, allocations: 0 / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.3798, allocations: 0 / 1.06 GB, free: 3.934 MB / 0.8106 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.000495/0.3803, allocations: 359.6 kB / 1.06 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3804, allocations: 8.031 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.3804, allocations: 4.938 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3806, allocations: 168.3 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3806, allocations: 4.375 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3806, allocations: 8.359 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3808, allocations: 77.72 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3808, allocations: 0 / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3808, allocations: 0 / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3809, allocations: 4 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/0.3811, allocations: 59.95 kB / 1.061 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.3815, allocations: 292.8 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3818, allocations: 82.45 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3819, allocations: 36.91 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.3819, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3819, allocations: 38.56 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.796e-06/0.3819, allocations: 0 / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004662/0.3824, allocations: 125.5 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3825, allocations: 59.34 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3826, allocations: 109.8 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3826, allocations: 25.7 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.3827, allocations: 84.14 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3827, allocations: 11.81 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.3827, allocations: 13.7 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3829, allocations: 322.8 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.383, allocations: 31.97 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3831, allocations: 27.98 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.3834, allocations: 60.81 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3834, allocations: 0 / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002763/0.3837, allocations: 101.6 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3837, allocations: 4.781 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3837, allocations: 320 / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3837, allocations: 4 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3838, allocations: 15.98 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3839, allocations: 0 / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.3839, allocations: 11.98 kB / 1.062 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.384, allocations: 3.984 kB / 1.062 GB, free: 1.598 MB / 0.8106 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 9.521e-05/0.3841, allocations: 123.2 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3841, allocations: 3.906 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.3841, allocations: 7.906 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3841, allocations: 4 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3842, allocations: 0 / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.3842, allocations: 3.984 kB / 1.062 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.3844, allocations: 177.5 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3844, allocations: 0 / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.208e-05/0.3845, allocations: 15.98 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3845, allocations: 0 / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3845, allocations: 3.984 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3845, allocations: 4 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3845, allocations: 0 / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.3849, allocations: 199.6 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.3849, allocations: 85.02 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3849, allocations: 4 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3851, allocations: 7.984 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.3851, allocations: 16.02 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.3851, allocations: 4 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.3852, allocations: 83.28 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3852, allocations: 0 / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002247/0.3854, allocations: 8 kB / 1.063 GB, free: 0.7656 MB / 0.8106 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.0001749/0.3856, allocations: 109.4 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3859, allocations: 67.89 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3859, allocations: 0 / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.386, allocations: 39.97 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.3864, allocations: 8 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.3868, allocations: 136.7 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3871, allocations: 0.6809 MB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.3871, allocations: 8 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.3872, allocations: 11.44 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3872, allocations: 0 / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of Templates: time 0.003221/0.3904, allocations: 0.7639 MB / 1.065 GB, free: 14.89 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches