Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001581/0.001582, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.495/1.495, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.029/3.029, allocations: 469.8 MB / 0.742 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002321, allocations: 65.98 kB / 0.908 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.411, allocations: 159.2 MB / 1.063 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00351/0.4145, allocations: 2.055 MB / 1.065 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.4166, allocations: 1.177 MB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.4168, allocations: 11.94 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.4172, allocations: 147.6 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.4176, allocations: 143.5 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.4181, allocations: 202.7 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.4185, allocations: 315.1 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.4187, allocations: 44.39 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.4189, allocations: 147.4 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.4191, allocations: 155.4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.4191, allocations: 16 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.4193, allocations: 59.98 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.4194, allocations: 87.72 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.4195, allocations: 127.1 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.42, allocations: 363 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.42, allocations: 0 / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.303e-06/0.42, allocations: 0 / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.42, allocations: 0 / 1.068 GB, free: 9.527 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001103/0.4211, allocations: 0.6263 MB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.4211, allocations: 8.031 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.4212, allocations: 36.56 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.4217, allocations: 382.1 kB / 1.069 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.4217, allocations: 8 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.4218, allocations: 4 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.4221, allocations: 109.6 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4221, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.4221, allocations: 0 / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4221, allocations: 4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.4223, allocations: 63.89 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.4231, allocations: 0.4886 MB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.4235, allocations: 142.6 kB / 1.07 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.4236, allocations: 52.83 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.4236, allocations: 7.984 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.4239, allocations: 104.1 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.4239, allocations: 0 / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0005363/0.4244, allocations: 231 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.4245, allocations: 51.41 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/0.4252, allocations: 0.5093 MB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.4252, allocations: 33.64 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.4253, allocations: 164.4 kB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.4254, allocations: 31.56 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.4255, allocations: 77.86 kB / 1.071 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.4257, allocations: 342.8 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.4259, allocations: 108.5 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.4261, allocations: 131.6 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.4265, allocations: 178.5 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4265, allocations: 0 / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006368/0.4271, allocations: 317.2 kB / 1.072 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4272, allocations: 9.234 kB / 1.072 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4272, allocations: 7.938 kB / 1.072 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4272, allocations: 0 / 1.072 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.4275, allocations: 55.91 kB / 1.072 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4275, allocations: 0 / 1.072 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.4276, allocations: 23.84 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.4277, allocations: 11.98 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002118/0.4279, allocations: 189.8 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.4279, allocations: 31.62 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.428, allocations: 43.06 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.428, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.428, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.428, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.4284, allocations: 305.3 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4284, allocations: 0 / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.4285, allocations: 11.98 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4285, allocations: 7.938 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.4285, allocations: 7.938 kB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4285, allocations: 3.938 kB / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4285, allocations: 0 / 1.073 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.4289, allocations: 202.4 kB / 1.073 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.429, allocations: 120.7 kB / 1.073 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.4291, allocations: 7.938 kB / 1.073 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4292, allocations: 15.92 kB / 1.073 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.4293, allocations: 15.98 kB / 1.073 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.4293, allocations: 8 kB / 1.073 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003955/0.4297, allocations: 319.1 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4297, allocations: 0 / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002895/0.43, allocations: 55.91 kB / 1.074 GB, free: 3.613 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001818/0.4318, allocations: 414.8 kB / 1.074 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00053/0.4324, allocations: 199.8 kB / 1.074 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.4324, allocations: 4 kB / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.4325, allocations: 62.53 kB / 1.074 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.4331, allocations: 98.44 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.4341, allocations: 0.5942 MB / 1.075 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.4347, allocations: 0.7947 MB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001602/0.4349, allocations: 54.94 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.492e-05/0.435, allocations: 31.42 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.435, allocations: 4 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of Templates: time 0.009069/0.4441, allocations: 3.993 MB / 1.08 GB, free: 13.52 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches