Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004938/0.004938, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.0011/0.0011, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.832/2.832, allocations: 469.4 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.89 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3028, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003407/0.3063, allocations: 1.999 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.3083, allocations: 1.196 MB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.3085, allocations: 7.938 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.3089, allocations: 159.5 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.3093, allocations: 155.4 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.3099, allocations: 226.4 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.3102, allocations: 307.2 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.3104, allocations: 52.36 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.3107, allocations: 151.4 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.3109, allocations: 155.4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.3109, allocations: 12 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.3111, allocations: 59.95 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3112, allocations: 87.75 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.3113, allocations: 127.1 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.3117, allocations: 366.4 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3118, allocations: 0 / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3118, allocations: 0 / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.3118, allocations: 0 / 1.225 GB, free: 9.605 MB / 0.9825 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.001285/0.3131, allocations: 0.6377 MB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.3131, allocations: 12.03 kB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.049e-05/0.3132, allocations: 42.73 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.3133, allocations: 40.7 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006697/0.314, allocations: 386 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.314, allocations: 7.938 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3141, allocations: 8 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.3143, allocations: 107.3 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3144, allocations: 0 / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.3144, allocations: 4 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3144, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.3146, allocations: 63.95 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009317/0.3155, allocations: 0.4926 MB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.3159, allocations: 130.8 kB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.316, allocations: 56.77 kB / 1.227 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3161, allocations: 0 / 1.227 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.3163, allocations: 115.2 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.3164, allocations: 7.938 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0006067/0.317, allocations: 219.1 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.317, allocations: 59.41 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006682/0.3177, allocations: 0.5093 MB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3177, allocations: 33.7 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.3179, allocations: 156.5 kB / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.318, allocations: 47.67 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.3181, allocations: 69.95 kB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3182, allocations: 342.8 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3185, allocations: 100.5 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.3187, allocations: 139.6 kB / 1.228 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.3191, allocations: 183 kB / 1.228 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3191, allocations: 0 / 1.228 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006365/0.3198, allocations: 325.4 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3198, allocations: 7.938 kB / 1.229 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3198, allocations: 3.984 kB / 1.229 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.3198, allocations: 4 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.3201, allocations: 43.92 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.3201, allocations: 7.984 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.3203, allocations: 19.89 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3203, allocations: 15.98 kB / 1.229 GB, free: 5.016 MB / 0.9825 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.0001902/0.3205, allocations: 186.2 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.3206, allocations: 43.69 kB / 1.229 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.847e-05/0.3206, allocations: 31.12 kB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3207, allocations: 4 kB / 1.229 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3207, allocations: 0 / 1.229 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3207, allocations: 0 / 1.229 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.321, allocations: 305.4 kB / 1.229 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.321, allocations: 4 kB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.3211, allocations: 15.98 kB / 1.229 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3211, allocations: 3.938 kB / 1.229 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3211, allocations: 4 kB / 1.229 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3211, allocations: 4 kB / 1.229 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3211, allocations: 0 / 1.229 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.3215, allocations: 217.3 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3216, allocations: 116.8 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.3217, allocations: 4 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3218, allocations: 4 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3218, allocations: 23.97 kB / 1.23 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3219, allocations: 8 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003279/0.3222, allocations: 315.1 kB / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3222, allocations: 0 / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002961/0.3225, allocations: 67.83 kB / 1.23 GB, free: 3.594 MB / 0.9825 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.001533/0.324, allocations: 1.055 MB / 1.231 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.3245, allocations: 195.8 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3245, allocations: 0 / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.3247, allocations: 63.03 kB / 1.231 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.3252, allocations: 97.91 kB / 1.232 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.3289, allocations: 3.125 MB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.3293, allocations: 0.787 MB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001432/0.3294, allocations: 54.92 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.3296, allocations: 107.4 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.3296, allocations: 4 kB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.3547, allocations: 7.142 MB / 1.243 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.272, allocations: 6.812 kB / 1.243 GB, free: 7.129 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches