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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001678/0.001678, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001851/0.001851, allocations: 191 kB / 17.29 MB, free: 5.516 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.56/1.56, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.88 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3082, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003883/0.3121, allocations: 2.012 MB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.3142, allocations: 1.182 MB / 0.9542 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3143, allocations: 7.938 kB / 0.9543 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.3148, allocations: 167.4 kB / 0.9544 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.3151, allocations: 151.4 kB / 0.9546 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.3156, allocations: 223.4 kB / 0.9548 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.316, allocations: 311.2 kB / 0.9551 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.3162, allocations: 48.28 kB / 0.9551 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.3164, allocations: 147.4 kB / 0.9553 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.3166, allocations: 151.4 kB / 0.9554 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.3167, allocations: 12 kB / 0.9554 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.3168, allocations: 55.97 kB / 0.9555 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3169, allocations: 87.67 kB / 0.9555 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.317, allocations: 131.2 kB / 0.9557 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.3175, allocations: 366.7 kB / 0.956 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3175, allocations: 3.938 kB / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3175, allocations: 0 / 0.956 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3175, allocations: 0 / 0.956 GB, free: 2.992 MB / 0.7325 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.00116/0.3187, allocations: 0.6148 MB / 0.9566 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3187, allocations: 8.031 kB / 0.9566 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.107e-05/0.3188, allocations: 40.41 kB / 0.9567 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.3194, allocations: 382.2 kB / 0.957 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3194, allocations: 4 kB / 0.957 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3195, allocations: 11.98 kB / 0.9571 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.3198, allocations: 107.6 kB / 0.9572 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3198, allocations: 0 / 0.9572 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3198, allocations: 4 kB / 0.9572 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3198, allocations: 4 kB / 0.9572 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.32, allocations: 59.95 kB / 0.9572 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009094/0.3209, allocations: 0.4925 MB / 0.9577 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.3213, allocations: 134.7 kB / 0.9578 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3214, allocations: 48.83 kB / 0.9579 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.3215, allocations: 8 kB / 0.9579 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.3217, allocations: 114.5 kB / 0.958 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.3217, allocations: 0 / 0.958 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005704/0.3223, allocations: 225 kB / 0.9582 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.3224, allocations: 51.41 kB / 0.9583 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.323, allocations: 0.5093 MB / 0.9588 GB, free: 8 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/0.3231, allocations: 33.7 kB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.3232, allocations: 164.4 kB / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.3233, allocations: 43.53 kB / 0.959 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.3234, allocations: 65.97 kB / 0.959 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3236, allocations: 350.8 kB / 0.9594 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.3238, allocations: 96.52 kB / 0.9595 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.324, allocations: 135.6 kB / 0.9596 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.3244, allocations: 176 kB / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3244, allocations: 0 / 0.9598 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005622/0.325, allocations: 329 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.325, allocations: 8 kB / 0.9601 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.325, allocations: 4 kB / 0.9601 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.325, allocations: 4 kB / 0.9601 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.3253, allocations: 55.91 kB / 0.9602 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3253, allocations: 0 / 0.9602 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3255, allocations: 19.84 kB / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3255, allocations: 15.98 kB / 0.9602 GB, free: 14.49 MB / 0.7481 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.0002252/0.3257, allocations: 177.8 kB / 0.9604 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.3258, allocations: 31.62 kB / 0.9604 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.3259, allocations: 43.06 kB / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3259, allocations: 0 / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.3259, allocations: 0 / 0.9604 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.3259, allocations: 3.984 kB / 0.9604 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.3263, allocations: 301.3 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3263, allocations: 0 / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.3263, allocations: 15.98 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3264, allocations: 4 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.3264, allocations: 3.938 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3264, allocations: 0 / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/0.3264, allocations: 7.969 kB / 0.9608 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.3268, allocations: 216.6 kB / 0.961 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.3269, allocations: 108.7 kB / 0.9611 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.327, allocations: 7.938 kB / 0.9611 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.3271, allocations: 11.98 kB / 0.9611 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.3272, allocations: 15.98 kB / 0.9611 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3272, allocations: 8 kB / 0.9611 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003691/0.3276, allocations: 315.1 kB / 0.9614 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3276, allocations: 4 kB / 0.9614 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003075/0.3279, allocations: 59.98 kB / 0.9615 GB, free: 13.08 MB / 0.7481 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.001138/0.3291, allocations: 419.1 kB / 0.9619 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.3295, allocations: 191.8 kB / 0.962 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3295, allocations: 0 / 0.962 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.3297, allocations: 60.09 kB / 0.9621 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.3301, allocations: 84.89 kB / 0.9622 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/0.331, allocations: 0.5375 MB / 0.9627 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.3314, allocations: 0.7946 MB / 0.9635 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000137/0.3315, allocations: 58.88 kB / 0.9635 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.3316, allocations: 31.42 kB / 0.9636 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.3316, allocations: 4 kB / 0.9636 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of Templates: time 0.008326/0.34, allocations: 4.057 MB / 0.9675 GB, free: 7.012 MB / 0.7481 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 -s cvode -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/jenkins1/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