Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001353, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001579/0.001579, allocations: 190.5 kB / 16.25 MB, free: 6.633 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.527/1.527, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.178/3.178, allocations: 472.7 MB / 0.7449 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 68.16 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3956, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.0022/0.3978, allocations: 0.8264 MB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3991, allocations: 0.8701 MB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.3992, allocations: 4 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.405e-05/0.3992, allocations: 7.922 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.41e-05/0.3993, allocations: 3.938 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.3995, allocations: 35.95 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3996, allocations: 79.83 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3998, allocations: 27.98 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.3999, allocations: 43.78 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.032e-05/0.4, allocations: 47.83 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.4, allocations: 8 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.4001, allocations: 8 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.4001, allocations: 23.89 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.4001, allocations: 35.8 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.4003, allocations: 87.72 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4003, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4003, allocations: 4 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.4003, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007189/0.401, allocations: 391.5 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4011, allocations: 12.03 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.4012, allocations: 8.844 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.4013, allocations: 176.2 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4014, allocations: 384 / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.4014, allocations: 8.375 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.4017, allocations: 113.7 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.4018, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.4018, allocations: 0 / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4018, allocations: 4 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.4021, allocations: 99.89 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.4027, allocations: 344.6 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.4033, allocations: 122.6 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.4035, allocations: 52.81 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.4036, allocations: 4 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.4036, allocations: 34.5 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.4036, allocations: 0 / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006658/0.4043, allocations: 185.5 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.4043, allocations: 55.39 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4044, allocations: 125.7 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.4044, allocations: 25.7 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.4045, allocations: 96.03 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.4046, allocations: 19.75 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.4046, allocations: 25.7 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4048, allocations: 322.8 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.4049, allocations: 51.94 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.4051, allocations: 43.95 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.4055, allocations: 105.2 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4055, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003848/0.4059, allocations: 133.5 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4059, allocations: 11.94 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4059, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4059, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.4061, allocations: 27.97 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4061, allocations: 0 / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.4062, allocations: 19.92 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4063, allocations: 0 / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.778e-05/0.4064, allocations: 123.5 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.4064, allocations: 7.906 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.4064, allocations: 8.375 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4064, allocations: 8 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4065, allocations: 0 / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4065, allocations: 3.938 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.4067, allocations: 201.5 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4067, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.4068, allocations: 23.97 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4069, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.4069, allocations: 8 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4069, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4069, allocations: 0 / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004449/0.4073, allocations: 243.2 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.4074, allocations: 81.02 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.4074, allocations: 3.984 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.4076, allocations: 11.98 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.4077, allocations: 27.97 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.4077, allocations: 11.92 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.047e-05/0.4078, allocations: 95.27 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4078, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002308/0.408, allocations: 12 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001588/0.4082, allocations: 107.2 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.4086, allocations: 107.8 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4086, allocations: 0 / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.4088, allocations: 59.95 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.4092, allocations: 8 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.4097, allocations: 202.1 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.4099, allocations: 0.6981 MB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.181e-05/0.41, allocations: 8 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.4101, allocations: 23.42 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4101, allocations: 0 / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of Templates: time 0.004194/0.4143, allocations: 1.418 MB / 1.076 GB, free: 2.238 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches