Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001077/0.001078, 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.001127/0.001127, allocations: 194.6 kB / 16.26 MB, free: 6.625 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.7824, allocations: 140.3 MB / 0.9491 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003724/0.7862, allocations: 2.044 MB / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.7882, allocations: 1.18 MB / 0.9523 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.7884, allocations: 6.875 kB / 0.9523 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.789, allocations: 145 kB / 0.9524 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004407/0.7895, allocations: 148.4 kB / 0.9525 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.7901, allocations: 205.9 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.7906, allocations: 312 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.7907, allocations: 51.45 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.7909, allocations: 148 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.7911, allocations: 151 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.7911, allocations: 14.91 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.7913, allocations: 60.53 kB / 0.9534 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.615e-05/0.7914, allocations: 85.61 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.807e-05/0.7915, allocations: 130.4 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.7919, allocations: 359.4 kB / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7919, allocations: 0 / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7919, allocations: 5.406 kB / 0.954 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.7919, allocations: 0 / 0.954 GB, free: 5.434 MB / 0.7169 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.0008849/0.7928, allocations: 0.6242 MB / 0.9546 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7928, allocations: 8.344 kB / 0.9546 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.7929, allocations: 36.47 kB / 0.9546 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.7933, allocations: 374.7 kB / 0.955 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.7933, allocations: 4.781 kB / 0.955 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.7934, allocations: 14.25 kB / 0.955 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.7936, allocations: 111.1 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.7936, allocations: 3.938 kB / 0.9551 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.7936, allocations: 9.078 kB / 0.9551 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.7936, allocations: 2.031 kB / 0.9551 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.7938, allocations: 59.62 kB / 0.9552 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007886/0.7946, allocations: 0.493 MB / 0.9557 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.7949, allocations: 133.5 kB / 0.9558 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.7951, allocations: 48.23 kB / 0.9559 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.7951, allocations: 1.406 kB / 0.9559 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.7953, allocations: 115.8 kB / 0.956 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/0.7953, allocations: 0 / 0.956 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004891/0.7958, allocations: 229.3 kB / 0.9562 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.7959, allocations: 52.53 kB / 0.9562 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.7964, allocations: 0.5123 MB / 0.9567 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.7964, allocations: 27.48 kB / 0.9568 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.7965, allocations: 169.2 kB / 0.9569 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.7965, allocations: 37.08 kB / 0.957 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-05/0.7966, allocations: 65.41 kB / 0.957 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.7967, allocations: 349.8 kB / 0.9574 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.7969, allocations: 96.89 kB / 0.9574 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.7971, allocations: 130.9 kB / 0.9576 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.7974, allocations: 187.2 kB / 0.9577 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7974, allocations: 0 / 0.9577 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005589/0.798, allocations: 328.9 kB / 0.9581 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.798, allocations: 6.344 kB / 0.9581 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7981, allocations: 5.281 kB / 0.9581 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.7981, allocations: 2.844 kB / 0.9581 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.7983, allocations: 53.94 kB / 0.9581 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7983, allocations: 1.094 kB / 0.9581 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.7985, allocations: 23.23 kB / 0.9582 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.7985, allocations: 11.78 kB / 0.9582 GB, free: 2.242 MB / 0.7169 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.0001731/0.7987, allocations: 179.4 kB / 0.9583 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.7988, allocations: 30.44 kB / 0.9584 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.786e-05/0.7989, allocations: 40.92 kB / 0.9584 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7989, allocations: 2.219 kB / 0.9584 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.7989, allocations: 4 kB / 0.9584 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7989, allocations: 0.875 kB / 0.9584 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.7992, allocations: 296.3 kB / 0.9587 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.7992, allocations: 0 / 0.9587 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.7992, allocations: 17.75 kB / 0.9587 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.7992, allocations: 4 kB / 0.9587 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.7993, allocations: 10.14 kB / 0.9587 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7993, allocations: 1.062 kB / 0.9587 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7993, allocations: 0 / 0.9587 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.7997, allocations: 210.9 kB / 0.9589 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.7997, allocations: 113.9 kB / 0.959 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.7998, allocations: 10.12 kB / 0.959 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7999, allocations: 8.328 kB / 0.959 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.8, allocations: 18.77 kB / 0.9591 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.8, allocations: 10.05 kB / 0.9591 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003674/0.8004, allocations: 310.8 kB / 0.9594 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8004, allocations: 5.094 kB / 0.9594 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003192/0.8007, allocations: 56.11 kB / 0.9594 GB, free: 1.266 MB / 0.7169 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.001049/0.8018, allocations: 429.9 kB / 0.9598 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.8022, allocations: 194.9 kB / 0.96 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8023, allocations: 0 / 0.96 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.8024, allocations: 63.12 kB / 0.9601 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.8029, allocations: 92.23 kB / 0.9602 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008421/0.8037, allocations: 0.5948 MB / 0.9608 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.8041, allocations: 0.7931 MB / 0.9615 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.8043, allocations: 54.97 kB / 0.9616 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.8044, allocations: 35.48 kB / 0.9616 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8044, allocations: 1.094 kB / 0.9616 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.00965/0.814, allocations: 3.999 MB / 0.9655 GB, free: 13.75 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches