Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.004929/0.004929, allocations: 99.69 kB / 15.73 MB, free: 6.039 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.001382/0.001382, allocations: 192.3 kB / 16.67 MB, free: 5.949 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.403/2.403, allocations: 437.1 MB / 0.7106 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 67.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2591, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001669/0.2609, allocations: 0.7014 MB / 1.167 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008744/0.2617, allocations: 0.8471 MB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.2618, allocations: 0 / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.2618, allocations: 3.938 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.2619, allocations: 3.938 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.262, allocations: 23.95 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.78e-05/0.2621, allocations: 43.92 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.2622, allocations: 19.98 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.2623, allocations: 15.92 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.2623, allocations: 27.91 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.2623, allocations: 4 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.2624, allocations: 4 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.2624, allocations: 11.92 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.2624, allocations: 19.92 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.331e-05/0.2625, allocations: 52.02 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2625, allocations: 11.88 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2625, allocations: 0 / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.576e-06/0.2625, allocations: 0 / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004723/0.263, allocations: 359.3 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2631, allocations: 8.031 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.2631, allocations: 38.73 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.998e-05/0.2631, allocations: 0.9375 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.2633, allocations: 172.3 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2633, allocations: 8.359 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.2633, allocations: 12.12 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2635, allocations: 61.66 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.2635, allocations: 0 / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2635, allocations: 4 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2635, allocations: 0 / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.2637, allocations: 59.88 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.2641, allocations: 292.8 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.2643, allocations: 66.56 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2644, allocations: 28.89 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.2644, allocations: 3.938 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2645, allocations: 30.56 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2645, allocations: 4 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003803/0.2648, allocations: 109.6 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.2649, allocations: 51.41 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.265, allocations: 109.8 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.265, allocations: 25.7 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.2651, allocations: 88.09 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.2651, allocations: 11.95 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.2651, allocations: 21.7 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2653, allocations: 314.8 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2654, allocations: 31.84 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.2655, allocations: 23.98 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.2657, allocations: 56.81 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2657, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002307/0.2659, allocations: 85.59 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2659, allocations: 4 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.2659, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.2659, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.266, allocations: 11.98 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2661, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.2661, allocations: 23.92 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.2661, allocations: 3.938 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.838e-05/0.2662, allocations: 113.8 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.2663, allocations: 4.266 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.2663, allocations: 11.89 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2663, allocations: 3.984 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2663, allocations: 4 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.2663, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.2665, allocations: 169.6 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2665, allocations: 0 / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-05/0.2666, allocations: 15.98 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2666, allocations: 3.984 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2666, allocations: 8 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.2666, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2666, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.2669, allocations: 187.3 kB / 1.17 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.267, allocations: 81.11 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.267, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2671, allocations: 11.98 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.2672, allocations: 11.98 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2672, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.2672, allocations: 87.22 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2673, allocations: 4 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002023/0.2675, allocations: 7.953 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005636/0.268, allocations: 0.7125 MB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.2683, allocations: 59.89 kB / 1.171 GB, free: 1.508 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2683, allocations: 3.938 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2684, allocations: 35.97 kB / 1.171 GB, free: 1.469 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2686, allocations: 4.547 kB / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.2701, allocations: 1.327 MB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.2704, allocations: 0.6807 MB / 1.173 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.2704, allocations: 11.98 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.2705, allocations: 15.44 kB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.2705, allocations: 0 / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.41/2.68, allocations: 1.834 MB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/18, allocations: 19.56 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches