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.001184/0.001184, 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.001613/0.001613, allocations: 193.9 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.519/1.519, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 69.69 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4315, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002245/0.4338, allocations: 0.7843 MB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.4349, allocations: 0.8701 MB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.4349, allocations: 0 / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.435, allocations: 7.875 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.4351, allocations: 7.875 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.4353, allocations: 35.95 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.4354, allocations: 87.81 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.4356, allocations: 23.98 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.4357, allocations: 35.86 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/0.4358, allocations: 51.81 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.4358, allocations: 8 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.4358, allocations: 8 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.4359, allocations: 23.91 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.4359, allocations: 39.78 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.4361, allocations: 87.72 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4361, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.735e-06/0.4361, allocations: 0 / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4361, allocations: 0 / 1.07 GB, free: 8.363 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.0006744/0.4368, allocations: 397.2 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4368, allocations: 11.97 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.4369, allocations: 12.78 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.437, allocations: 172.2 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.4371, allocations: 12.38 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.4371, allocations: 4.375 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.4374, allocations: 101.7 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.4374, allocations: 0 / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.4375, allocations: 11.98 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4375, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.4378, allocations: 103.3 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.4384, allocations: 344.6 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.439, allocations: 122.5 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.4392, allocations: 52.81 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.4392, allocations: 3.984 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.4393, allocations: 34.56 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.4393, allocations: 4 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000665/0.4399, allocations: 177.5 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.44, allocations: 55.41 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4401, allocations: 121.7 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.4402, allocations: 33.7 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.4403, allocations: 96.03 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.4403, allocations: 23.73 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.4404, allocations: 25.7 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4405, allocations: 322.8 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.4407, allocations: 43.95 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.4409, allocations: 47.95 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.4413, allocations: 88.78 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.4413, allocations: 0 / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004072/0.4417, allocations: 138 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4417, allocations: 8 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.4418, allocations: 4 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.4418, allocations: 3.938 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.4419, allocations: 23.97 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.442, allocations: 0 / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.4421, allocations: 15.92 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.4421, allocations: 8.062 kB / 1.073 GB, free: 5.574 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 0.0001211/0.4422, allocations: 117.8 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.4423, allocations: 3.906 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.4423, allocations: 16.38 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4423, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4423, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.4424, allocations: 3.938 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.4426, allocations: 209.4 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4426, allocations: 3.938 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.4428, allocations: 23.97 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4428, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4428, allocations: 4 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.4428, allocations: 7.922 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4428, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.4433, allocations: 231.3 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.4434, allocations: 85.02 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.4434, allocations: 11.98 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4436, allocations: 11.98 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4437, allocations: 19.97 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4437, allocations: 7.938 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.022e-05/0.4438, allocations: 91.27 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4438, allocations: 4 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002306/0.4441, allocations: 12 kB / 1.074 GB, free: 4.633 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.0002136/0.4443, allocations: 103.8 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.4447, allocations: 111.8 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4447, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.445, allocations: 63.89 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.4453, allocations: 10.48 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.4458, allocations: 182.1 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.446, allocations: 0.6963 MB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.09e-05/0.4461, allocations: 8 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.4462, allocations: 15.42 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4462, allocations: 4 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of Templates: time 0.004597/0.4508, allocations: 1.587 MB / 1.076 GB, free: 1.809 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