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.001217/0.001217, allocations: 108 kB / 15.61 MB, free: 148 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.001316/0.001316, allocations: 194.1 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.455/1.455, 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 9.1.3-maint.9.1.x/package.mo): time 2.576/2.576, allocations: 390.2 MB / 0.6646 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9137/0.915, allocations: 140.3 MB / 0.9496 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004495/0.9196, allocations: 1.998 MB / 0.9515 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002844/0.9225, allocations: 1.193 MB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.9227, allocations: 7.031 kB / 0.9527 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.9233, allocations: 162.4 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.9238, allocations: 156.3 kB / 0.953 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.9246, allocations: 223 kB / 0.9532 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000583/0.9252, allocations: 311.6 kB / 0.9535 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.9255, allocations: 56.75 kB / 0.9536 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003145/0.9258, allocations: 137.3 kB / 0.9537 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.9262, allocations: 148.1 kB / 0.9538 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.063e-05/0.9262, allocations: 14.19 kB / 0.9539 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.9265, allocations: 61.66 kB / 0.9539 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.9267, allocations: 87.36 kB / 0.954 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.9269, allocations: 125.5 kB / 0.9541 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000695/0.9276, allocations: 363.7 kB / 0.9545 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.9276, allocations: 4 kB / 0.9545 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.757e-06/0.9276, allocations: 1.219 kB / 0.9545 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.9277, allocations: 0 / 0.9545 GB, free: 5.406 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.0014/0.9291, allocations: 0.6201 MB / 0.9551 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.9291, allocations: 9.375 kB / 0.9551 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.9293, allocations: 35.78 kB / 0.9551 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.9299, allocations: 370.4 kB / 0.9555 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.9299, allocations: 12.09 kB / 0.9555 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.93, allocations: 14.17 kB / 0.9555 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.9303, allocations: 104.9 kB / 0.9556 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.9304, allocations: 5.25 kB / 0.9556 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.9304, allocations: 4 kB / 0.9556 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.9304, allocations: 2.281 kB / 0.9556 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.9307, allocations: 58.64 kB / 0.9557 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.9318, allocations: 0.4971 MB / 0.9562 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004979/0.9323, allocations: 131 kB / 0.9563 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.9325, allocations: 50.55 kB / 0.9563 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.9325, allocations: 7.844 kB / 0.9563 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.9328, allocations: 110.1 kB / 0.9564 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.9328, allocations: 0 / 0.9564 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007646/0.9336, allocations: 225.6 kB / 0.9567 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.9337, allocations: 52.81 kB / 0.9567 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.9345, allocations: 0.5222 MB / 0.9572 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.9345, allocations: 32.45 kB / 0.9572 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.9346, allocations: 160.9 kB / 0.9574 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.9347, allocations: 42.41 kB / 0.9574 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.9348, allocations: 65.47 kB / 0.9575 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.9349, allocations: 349.5 kB / 0.9578 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.9352, allocations: 95.92 kB / 0.9579 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.9356, allocations: 135.9 kB / 0.9581 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/0.936, allocations: 183.7 kB / 0.9582 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.9361, allocations: 0 / 0.9582 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008121/0.9369, allocations: 327.4 kB / 0.9585 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.9369, allocations: 4.5 kB / 0.9585 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.9369, allocations: 12.78 kB / 0.9586 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.937, allocations: 2.188 kB / 0.9586 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.9373, allocations: 50.12 kB / 0.9586 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.9373, allocations: 2.375 kB / 0.9586 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.9376, allocations: 18.94 kB / 0.9586 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.9376, allocations: 16.67 kB / 0.9586 GB, free: 2.215 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.0002421/0.9379, allocations: 182.6 kB / 0.9588 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.938, allocations: 29.88 kB / 0.9588 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.9381, allocations: 42.38 kB / 0.9589 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.9381, allocations: 1.094 kB / 0.9589 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.9381, allocations: 0 / 0.9589 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.9381, allocations: 5.172 kB / 0.9589 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.9385, allocations: 291.6 kB / 0.9592 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9385, allocations: 0.9688 kB / 0.9592 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.507e-05/0.9386, allocations: 13.17 kB / 0.9592 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9386, allocations: 1.125 kB / 0.9592 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.9386, allocations: 5.062 kB / 0.9592 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.9386, allocations: 5.016 kB / 0.9592 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.9387, allocations: 1.031 kB / 0.9592 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005096/0.9392, allocations: 212.1 kB / 0.9594 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.9393, allocations: 119.1 kB / 0.9595 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.9394, allocations: 5.75 kB / 0.9595 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.9395, allocations: 12.23 kB / 0.9595 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.9396, allocations: 15.61 kB / 0.9595 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.9396, allocations: 5.375 kB / 0.9596 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005485/0.9402, allocations: 318.9 kB / 0.9599 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9402, allocations: 0 / 0.9599 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005943/0.9408, allocations: 57.05 kB / 0.9599 GB, free: 1.238 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.001592/0.9424, allocations: 420.3 kB / 0.9603 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006492/0.9431, allocations: 199.2 kB / 0.9605 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.9431, allocations: 0 / 0.9605 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.9433, allocations: 63.59 kB / 0.9606 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.944, allocations: 85.91 kB / 0.9606 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.9454, allocations: 0.5394 MB / 0.9612 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.9459, allocations: 0.7967 MB / 0.9619 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000237/0.9462, allocations: 63.78 kB / 0.962 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.9463, allocations: 35.02 kB / 0.962 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.9463, allocations: 1.5 kB / 0.962 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.01574/0.962, allocations: 4.055 MB / 0.966 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