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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_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.001343/0.001342, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01008/0.01008, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7156/0.7159, allocations: 142.4 MB / 0.9552 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.001925/0.7179, allocations: 1.694 MB / 0.9568 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.7195, allocations: 1.154 MB / 0.958 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.542e-05/0.7196, allocations: 6.875 kB / 0.958 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.72, allocations: 146.3 kB / 0.9581 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.7202, allocations: 146.9 kB / 0.9582 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.7207, allocations: 207.3 kB / 0.9584 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.721, allocations: 293.6 kB / 0.9587 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.7211, allocations: 42.38 kB / 0.9588 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.7213, allocations: 123 kB / 0.9589 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.7214, allocations: 142.7 kB / 0.959 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.7215, allocations: 5.531 kB / 0.959 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.7216, allocations: 46.7 kB / 0.9591 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.612e-05/0.7217, allocations: 82.09 kB / 0.9591 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.48e-05/0.7218, allocations: 138.3 kB / 0.9593 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.7221, allocations: 348.4 kB / 0.9596 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7221, allocations: 0.9688 kB / 0.9596 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7221, allocations: 0 / 0.9596 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.7221, allocations: 3.938 kB / 0.9596 GB, free: 4.418 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.0007654/0.7229, allocations: 0.583 MB / 0.9602 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.7229, allocations: 9.625 kB / 0.9602 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.723, allocations: 36.12 kB / 0.9602 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.723, allocations: 33.06 kB / 0.9603 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.7234, allocations: 377.6 kB / 0.9606 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.7235, allocations: 4.125 kB / 0.9606 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.7235, allocations: 9.5 kB / 0.9606 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.7237, allocations: 105.4 kB / 0.9607 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7237, allocations: 7.984 kB / 0.9607 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.7237, allocations: 7.938 kB / 0.9607 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7237, allocations: 2.75 kB / 0.9608 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.7239, allocations: 60.11 kB / 0.9608 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.7247, allocations: 0.4989 MB / 0.9613 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.7251, allocations: 132.6 kB / 0.9614 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.7252, allocations: 51.64 kB / 0.9615 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.7253, allocations: 2.625 kB / 0.9615 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.7256, allocations: 114.3 kB / 0.9616 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.7256, allocations: 0.8125 kB / 0.9616 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005709/0.7261, allocations: 220.6 kB / 0.9618 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.7262, allocations: 57.44 kB / 0.9619 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000647/0.7268, allocations: 0.5106 MB / 0.9623 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.7269, allocations: 27.98 kB / 0.9624 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.727, allocations: 172.9 kB / 0.9625 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.727, allocations: 34.19 kB / 0.9626 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.7271, allocations: 37.19 kB / 0.9626 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7272, allocations: 348.7 kB / 0.9629 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.7274, allocations: 100.5 kB / 0.963 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.7277, allocations: 128.4 kB / 0.9632 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.728, allocations: 182.3 kB / 0.9633 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.728, allocations: 5.219 kB / 0.9633 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005719/0.7286, allocations: 327.3 kB / 0.9637 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.7286, allocations: 8.625 kB / 0.9637 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.7286, allocations: 1.188 kB / 0.9637 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.7287, allocations: 2.844 kB / 0.9637 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.7289, allocations: 49.94 kB / 0.9637 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.7289, allocations: 5.156 kB / 0.9637 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.7291, allocations: 16.78 kB / 0.9637 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.7291, allocations: 15.92 kB / 0.9637 GB, free: 1.234 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.0001825/0.7293, allocations: 187 kB / 0.9639 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.7294, allocations: 38.06 kB / 0.964 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.848e-05/0.7295, allocations: 33.03 kB / 0.964 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7295, allocations: 2.344 kB / 0.964 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.7295, allocations: 0 / 0.964 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.7295, allocations: 8.984 kB / 0.964 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.7298, allocations: 295.8 kB / 0.9643 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.7298, allocations: 0 / 0.9643 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.7299, allocations: 13.77 kB / 0.9643 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.7299, allocations: 5.375 kB / 0.9643 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.7299, allocations: 1.312 kB / 0.9643 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7299, allocations: 1.625 kB / 0.9643 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7299, allocations: 0 / 0.9643 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.7302, allocations: 218.8 kB / 0.9645 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.7303, allocations: 119.3 kB / 0.9646 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.7303, allocations: 7.938 kB / 0.9646 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.873e-05/0.7304, allocations: 10.64 kB / 0.9646 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.7305, allocations: 18.09 kB / 0.9647 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.7305, allocations: 5.5 kB / 0.9647 GB, free: 452 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003122/0.7308, allocations: 314.2 kB / 0.965 GB, free: 268 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7308, allocations: 0.9375 kB / 0.965 GB, free: 268 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003038/0.7312, allocations: 55.38 kB / 0.965 GB, free: 256 kB / 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.001481/0.7326, allocations: 1.068 MB / 0.9661 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003951/0.7331, allocations: 196.8 kB / 0.9663 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7331, allocations: 0.9688 kB / 0.9663 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.7332, allocations: 62.62 kB / 0.9663 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.7337, allocations: 75.19 kB / 0.9664 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.7378, allocations: 3.187 MB / 0.9695 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.7382, allocations: 0.7849 MB / 0.9703 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.7383, allocations: 50.58 kB / 0.9703 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.7385, allocations: 108 kB / 0.9704 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.7385, allocations: 0 / 0.9704 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.7575, allocations: 6.528 MB / 0.9768 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/0.7578, allocations: 244.6 kB / 0.977 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.195, allocations: 0 / 0.977 GB, free: 8.758 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > 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