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.001567/0.001567, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001773/0.001773, allocations: 189 kB / 16.25 MB, free: 6.152 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.434 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.497/2.497, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001743, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7003/0.7021, allocations: 140.4 MB / 0.9492 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002121/0.7042, allocations: 0.7567 MB / 0.95 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008725/0.7051, allocations: 0.833 MB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.7052, allocations: 1.375 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.7052, allocations: 3.938 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.016e-05/0.7053, allocations: 5.359 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.7055, allocations: 24.05 kB / 0.9508 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.301e-05/0.7056, allocations: 49.72 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.7057, allocations: 18.86 kB / 0.9509 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.559e-05/0.7058, allocations: 18.8 kB / 0.9509 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.7058, allocations: 26.78 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.7059, allocations: 4.125 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.7059, allocations: 4.125 kB / 0.951 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.7059, allocations: 13.3 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.7059, allocations: 16.06 kB / 0.951 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.11e-05/0.706, allocations: 48.03 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.706, allocations: 0 / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7061, allocations: 5.375 kB / 0.951 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.7061, allocations: 0 / 0.951 GB, free: 7.652 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.0004813/0.7065, allocations: 360.8 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.7066, allocations: 9.625 kB / 0.9514 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.7066, allocations: 30.75 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.7067, allocations: 3.688 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.7068, allocations: 175 kB / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.7068, allocations: 5.75 kB / 0.9516 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.7068, allocations: 7.062 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.707, allocations: 75.45 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.707, allocations: 0 / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.7071, allocations: 1.375 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7071, allocations: 1.375 kB / 0.9517 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.7073, allocations: 50.08 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.7076, allocations: 294.8 kB / 0.952 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.7078, allocations: 63.58 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.824e-05/0.7079, allocations: 30.5 kB / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.708, allocations: 1.438 kB / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.708, allocations: 35.69 kB / 0.9521 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.708, allocations: 0 / 0.9521 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004013/0.7084, allocations: 112.3 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.7084, allocations: 52.44 kB / 0.9523 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.7085, allocations: 107.7 kB / 0.9524 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.7085, allocations: 25.7 kB / 0.9524 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.7085, allocations: 85.27 kB / 0.9525 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.7086, allocations: 22.36 kB / 0.9525 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.7086, allocations: 17.41 kB / 0.9525 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.7087, allocations: 323.8 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.801e-05/0.7088, allocations: 23.94 kB / 0.9529 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-05/0.7089, allocations: 26.44 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.709, allocations: 53.19 kB / 0.9529 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.709, allocations: 0 / 0.9529 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002216/0.7093, allocations: 89.91 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.7093, allocations: 4.031 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7093, allocations: 1.406 kB / 0.953 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7093, allocations: 4.031 kB / 0.953 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.7094, allocations: 12.11 kB / 0.953 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7095, allocations: 0 / 0.953 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.7095, allocations: 12.55 kB / 0.9531 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.7096, allocations: 1.375 kB / 0.9531 GB, free: 5.652 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 7.571e-05/0.7096, allocations: 120.6 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.7097, allocations: 6.125 kB / 0.9532 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.7097, allocations: 3.906 kB / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7097, allocations: 1.531 kB / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7097, allocations: 0 / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7097, allocations: 0 / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.7099, allocations: 180.6 kB / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7099, allocations: 4 kB / 0.9534 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.753e-05/0.71, allocations: 11.33 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.71, allocations: 1.156 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.71, allocations: 1.312 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.71, allocations: 3.938 kB / 0.9534 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.71, allocations: 0 / 0.9534 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.7103, allocations: 183.7 kB / 0.9535 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.7103, allocations: 83.58 kB / 0.9536 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.7103, allocations: 4 kB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.7105, allocations: 8.047 kB / 0.9536 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.7105, allocations: 11.89 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.7105, allocations: 1.25 kB / 0.9537 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.7106, allocations: 93.77 kB / 0.9537 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7106, allocations: 0 / 0.9537 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002264/0.7108, allocations: 10.56 kB / 0.9538 GB, free: 4.922 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.000533/0.7114, allocations: 0.7213 MB / 0.9545 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.7117, allocations: 58.95 kB / 0.9545 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7117, allocations: 4 kB / 0.9545 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.7118, allocations: 38.19 kB / 0.9546 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.7122, allocations: 6.484 kB / 0.9546 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.7135, allocations: 1.323 MB / 0.9559 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.7137, allocations: 0.6886 MB / 0.9565 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.7137, allocations: 7.922 kB / 0.9565 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.7138, allocations: 14.94 kB / 0.9565 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7138, allocations: 0 / 0.9565 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.7249, allocations: 1.659 MB / 0.9582 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.7251, allocations: 220.5 kB / 0.9584 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.588, allocations: 0 / 0.9584 GB, free: 1.102 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