Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001459/0.001459, allocations: 104.4 kB / 15.99 MB, free: 6.355 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.001703/0.001703, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 72.73 kB / 0.8694 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2864, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003957/0.2904, allocations: 2.054 MB / 1.019 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2926, allocations: 1.193 MB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.2928, allocations: 7.938 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.2933, allocations: 143.6 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.2938, allocations: 143.5 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.2944, allocations: 216 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.2949, allocations: 307.2 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.2951, allocations: 44.38 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.2954, allocations: 143.4 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.2956, allocations: 159.4 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.2957, allocations: 12 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.2958, allocations: 55.97 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.2959, allocations: 91.67 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.2961, allocations: 127.1 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.2965, allocations: 287.7 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2965, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2965, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.2965, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 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.001128/0.2977, allocations: 0.6264 MB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.2977, allocations: 8.922 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.2978, allocations: 36.47 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.2984, allocations: 382.1 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.2984, allocations: 7.938 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2984, allocations: 8 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.2987, allocations: 105.6 kB / 1.023 GB, free: 4.758 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2987, allocations: 3.938 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2988, allocations: 8 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2988, allocations: 4 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.299, allocations: 59.95 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008385/0.2998, allocations: 0.4886 MB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.3002, allocations: 142.8 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.3003, allocations: 44.83 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3004, allocations: 7.938 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.3006, allocations: 115.4 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.3006, allocations: 0 / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.000558/0.3012, allocations: 221.2 kB / 1.024 GB, free: 3.594 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.3012, allocations: 51.41 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/0.3018, allocations: 0.517 MB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.3019, allocations: 25.7 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.302, allocations: 172.4 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.3021, allocations: 31.56 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.3022, allocations: 77.86 kB / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3023, allocations: 346.8 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.3026, allocations: 100.5 kB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.3028, allocations: 136.1 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.3031, allocations: 182.9 kB / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3031, allocations: 0 / 1.026 GB, free: 1.918 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005552/0.3037, allocations: 310.7 kB / 1.026 GB, free: 1.609 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3037, allocations: 11.98 kB / 1.026 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3038, allocations: 3.938 kB / 1.026 GB, free: 1.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3038, allocations: 0 / 1.026 GB, free: 1.594 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.304, allocations: 51.97 kB / 1.026 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.304, allocations: 3.938 kB / 1.026 GB, free: 1.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.3042, allocations: 27.91 kB / 1.026 GB, free: 1.512 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.3043, allocations: 15.98 kB / 1.026 GB, free: 1.496 MB / 0.795 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.0001806/0.3044, allocations: 181.7 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.3045, allocations: 27.62 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.502e-05/0.3046, allocations: 43.06 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3046, allocations: 0 / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3046, allocations: 0 / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3046, allocations: 3.984 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.3049, allocations: 305.3 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3049, allocations: 0 / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.305, allocations: 15.98 kB / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.305, allocations: 0 / 1.027 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.305, allocations: 7.938 kB / 1.027 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.305, allocations: 4 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3051, allocations: 0 / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.3054, allocations: 210.2 kB / 1.027 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.583e-05/0.3056, allocations: 116.7 kB / 1.027 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.3056, allocations: 15.94 kB / 1.027 GB, free: 500 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3057, allocations: 7.984 kB / 1.027 GB, free: 492 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.3058, allocations: 19.98 kB / 1.027 GB, free: 472 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.3058, allocations: 4 kB / 1.027 GB, free: 468 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003403/0.3062, allocations: 315.1 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3062, allocations: 0 / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003154/0.3065, allocations: 55.91 kB / 1.028 GB, free: 100 kB / 0.795 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.001055/0.3076, allocations: 422.9 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.308, allocations: 212 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.308, allocations: 0 / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.3082, allocations: 51.97 kB / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.3087, allocations: 99.98 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009353/0.3096, allocations: 0.6311 MB / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.31, allocations: 0.7908 MB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.526e-05/0.3101, allocations: 35.42 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of SimCode: time 8.12e-07/0.3101, allocations: 0 / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.008293/0.3184, allocations: 4.383 MB / 1.034 GB, free: 9.613 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches