Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.00104/0.00104, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 196 kB / 16.53 MB, free: 6.699 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6128/0.6142, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001947/0.6162, allocations: 0.6921 MB / 0.9504 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007517/0.617, allocations: 0.8396 MB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.617, allocations: 1.188 kB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.617, allocations: 3.938 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.941e-05/0.6171, allocations: 3.938 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.6173, allocations: 25.22 kB / 0.9513 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.277e-05/0.6173, allocations: 50.16 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.6175, allocations: 15.02 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.6175, allocations: 21.98 kB / 0.9513 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.6176, allocations: 22.73 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.6176, allocations: 4.156 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.6176, allocations: 5.094 kB / 0.9514 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.6177, allocations: 17.22 kB / 0.9514 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.6177, allocations: 23.86 kB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.73e-05/0.6178, allocations: 39.91 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6178, allocations: 4 kB / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6178, allocations: 0 / 0.9515 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6178, allocations: 1.344 kB / 0.9515 GB, free: 7.816 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000433/0.6182, allocations: 363.7 kB / 0.9518 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/0.6183, allocations: 10.16 kB / 0.9518 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.85e-05/0.6184, allocations: 40.17 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.6184, allocations: 6.406 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/0.6185, allocations: 171.2 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.6185, allocations: 1.594 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.6185, allocations: 2.969 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.6187, allocations: 75.61 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6187, allocations: 1.25 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6187, allocations: 4 kB / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.6187, allocations: 1.312 kB / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.619, allocations: 55.03 kB / 0.9522 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.6193, allocations: 282.8 kB / 0.9524 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.6195, allocations: 62.73 kB / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.6196, allocations: 30.66 kB / 0.9525 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.6196, allocations: 5.312 kB / 0.9525 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.6197, allocations: 31.81 kB / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.6197, allocations: 0 / 0.9525 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004073/0.6201, allocations: 108.4 kB / 0.9526 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.6201, allocations: 56.45 kB / 0.9527 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.697e-05/0.6202, allocations: 115.6 kB / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.6202, allocations: 29.69 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.6202, allocations: 85.98 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.6203, allocations: 16.94 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.6203, allocations: 23.02 kB / 0.953 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.6203, allocations: 318.8 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.6205, allocations: 20.42 kB / 0.9533 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.6205, allocations: 28.62 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.6207, allocations: 50.44 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6207, allocations: 0 / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002269/0.621, allocations: 85.98 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.621, allocations: 4.75 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.621, allocations: 0 / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.621, allocations: 1.5 kB / 0.9534 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.6212, allocations: 19.94 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.6212, allocations: 0 / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.6212, allocations: 8.141 kB / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.6213, allocations: 1.25 kB / 0.9535 GB, free: 5.816 MB / 0.7169 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,intLesEquThr.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 5.285e-05/0.6213, allocations: 116 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.6213, allocations: 14.48 kB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.6214, allocations: 9.062 kB / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.6214, allocations: 0 / 0.9536 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6214, allocations: 5.188 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6214, allocations: 0 / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.6215, allocations: 176 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6215, allocations: 3.938 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/0.6216, allocations: 11.89 kB / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6216, allocations: 1.344 kB / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.6216, allocations: 0 / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6216, allocations: 1.219 kB / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6217, allocations: 3.984 kB / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.6219, allocations: 184.4 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.6219, allocations: 86.31 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.6219, allocations: 0 / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.622, allocations: 5.469 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.6221, allocations: 11.23 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.6221, allocations: 5.422 kB / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.844e-05/0.6222, allocations: 85.53 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6222, allocations: 4 kB / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002391/0.6224, allocations: 9.875 kB / 0.9542 GB, free: 5.082 MB / 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: 2 (intLesEquThr.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.0004398/0.6229, allocations: 0.7174 MB / 0.9549 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.6231, allocations: 58.66 kB / 0.9549 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6231, allocations: 0 / 0.9549 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.6232, allocations: 34.69 kB / 0.955 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.6235, allocations: 4.594 kB / 0.955 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.6247, allocations: 1.322 MB / 0.9563 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.067e-05/0.6248, allocations: 0.683 MB / 0.9569 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.6249, allocations: 4.5 kB / 0.9569 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.6249, allocations: 22.58 kB / 0.957 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6249, allocations: 0 / 0.957 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.6426, allocations: 1.82 MB / 0.9587 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/8.225, allocations: 7.172 kB / 0.9587 GB, free: 1.375 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches