Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.LessEqualThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_10_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.0008518/0.0008518, 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.005104/0.005104, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.358/2.358, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002916, allocations: 8 kB / 0.873 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6045/0.6048, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0007123/0.6055, allocations: 441.3 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.6063, allocations: 0.8273 MB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.6064, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.6064, allocations: 3.938 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.6065, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.844e-05/0.6066, allocations: 27.91 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.6066, allocations: 51.91 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.738e-05/0.6067, allocations: 8 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.6067, allocations: 15.92 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.6068, allocations: 23.84 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.6068, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-06/0.6068, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.6069, allocations: 11.98 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.6069, allocations: 45.56 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.049e-05/0.607, allocations: 43.84 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.607, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.607, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.607, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 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.0003787/0.6074, allocations: 353.7 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.6074, allocations: 8.031 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.6074, allocations: 42.73 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.902e-05/0.6075, allocations: 8.844 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.697e-05/0.6076, allocations: 168.3 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.6076, allocations: 384 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.6076, allocations: 4.375 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.6078, allocations: 77.53 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-06/0.6078, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.6078, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.6078, allocations: 3.938 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.608, allocations: 63.94 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.6084, allocations: 288.8 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.6086, allocations: 70.48 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.6087, allocations: 36.91 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-06/0.6087, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.6087, allocations: 38.56 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 6.282e-06/0.6087, allocations: 4 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003814/0.6091, allocations: 133.4 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.6092, allocations: 51.41 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.919e-05/0.6092, allocations: 105.8 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.6092, allocations: 29.7 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.6093, allocations: 88.12 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.6093, allocations: 11.84 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.6093, allocations: 13.72 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.6094, allocations: 318.8 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.6095, allocations: 35.98 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.231e-05/0.6096, allocations: 27.97 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.6098, allocations: 69.08 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.6099, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002386/0.6101, allocations: 93.5 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.6101, allocations: 6.344 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.6101, allocations: 4 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.6101, allocations: 4 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.6102, allocations: 15.98 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.6103, allocations: 3.984 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.6103, allocations: 8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.6103, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 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.414e-05/0.6104, allocations: 122.3 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.6104, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.6105, allocations: 11.91 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6105, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6105, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-06/0.6105, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.6107, allocations: 181.5 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6107, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.6108, allocations: 15.98 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6108, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.6108, allocations: 8 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6108, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6108, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.6111, allocations: 199.3 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.6111, allocations: 85.05 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.6111, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/0.6112, allocations: 11.98 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.6113, allocations: 11.98 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.6113, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.6113, allocations: 87.27 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6113, allocations: 4 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002094/0.6116, allocations: 11.84 kB / 1.027 GB, free: 11.08 MB / 0.7794 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.0005294/0.6121, allocations: 0.728 MB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002248/0.6123, allocations: 67.94 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6123, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.6125, allocations: 35.98 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.6127, allocations: 15.92 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.614, allocations: 1.354 MB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.6143, allocations: 0.677 MB / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.6143, allocations: 8 kB / 1.03 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.6143, allocations: 19.42 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6144, allocations: 0 / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.168/3.783, allocations: 1.545 MB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003521/3.783, allocations: 216.5 kB / 1.032 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/5.496, allocations: 0 / 1.032 GB, free: 6.395 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches