Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_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.01065/0.01065, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.002421/0.002421, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.89 kB / 1.054 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8459/0.8473, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002037/0.8493, allocations: 0.7027 MB / 1.208 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.8505, allocations: 0.8351 MB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.8506, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.8506, allocations: 7.938 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.8507, allocations: 3.938 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.8509, allocations: 31.89 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.202e-05/0.851, allocations: 47.84 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.8511, allocations: 12 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/0.8512, allocations: 23.92 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.8513, allocations: 27.89 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.8513, allocations: 8 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.8513, allocations: 4 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.8514, allocations: 4 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.8514, allocations: 23.86 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.8515, allocations: 47.84 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.8515, allocations: 4 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8515, allocations: 0 / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8515, allocations: 0 / 1.209 GB, free: 11.73 MB / 0.9356 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.0005281/0.8521, allocations: 345.7 kB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8521, allocations: 20.02 kB / 1.209 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.8522, allocations: 34.75 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.8522, allocations: 12.78 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.8523, allocations: 160.4 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.8524, allocations: 4.375 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.8524, allocations: 4.125 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.8526, allocations: 73.59 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.8526, allocations: 0 / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.8526, allocations: 4 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.8526, allocations: 4 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.8528, allocations: 51.94 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.8532, allocations: 292.7 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.8535, allocations: 70.47 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.8536, allocations: 28.92 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.8536, allocations: 0 / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.8536, allocations: 34.56 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.8536, allocations: 3.984 kB / 1.21 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003908/0.854, allocations: 113.5 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.8541, allocations: 55.41 kB / 1.21 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/0.8542, allocations: 109.8 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.8542, allocations: 25.7 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.8542, allocations: 92.05 kB / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.8543, allocations: 11.84 kB / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.8543, allocations: 17.7 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8544, allocations: 318.8 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.8546, allocations: 27.97 kB / 1.211 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.8547, allocations: 23.98 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.855, allocations: 52.75 kB / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.855, allocations: 0 / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003206/0.8553, allocations: 89.55 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.8553, allocations: 4 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.8553, allocations: 0 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.8554, allocations: 8 kB / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.8555, allocations: 7.984 kB / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8555, allocations: 4 kB / 1.211 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.8556, allocations: 7.984 kB / 1.211 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.8556, allocations: 3.938 kB / 1.211 GB, free: 9.43 MB / 0.9356 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 8.345e-05/0.8557, allocations: 113.8 kB / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.8557, allocations: 0 / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.8558, allocations: 11.84 kB / 1.211 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.8558, allocations: 11.94 kB / 1.211 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8558, allocations: 3.984 kB / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.8558, allocations: 0 / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.856, allocations: 169.6 kB / 1.211 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.856, allocations: 0 / 1.211 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.631e-05/0.8561, allocations: 11.98 kB / 1.211 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8561, allocations: 4 kB / 1.211 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.8561, allocations: 3.984 kB / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8561, allocations: 0 / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8561, allocations: 0 / 1.211 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.8564, allocations: 187.3 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.8564, allocations: 77.11 kB / 1.212 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.8564, allocations: 4 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.8565, allocations: 11.98 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.8566, allocations: 15.92 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.8566, allocations: 0 / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.8567, allocations: 99.16 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8567, allocations: 0 / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002203/0.8569, allocations: 4 kB / 1.212 GB, free: 8.609 MB / 0.9356 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.0005518/0.8575, allocations: 0.7244 MB / 1.212 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.8577, allocations: 55.89 kB / 1.212 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8577, allocations: 0 / 1.212 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.8578, allocations: 35.97 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.8581, allocations: 0 / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.8597, allocations: 1.345 MB / 1.214 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.8599, allocations: 0.6768 MB / 1.214 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.86, allocations: 4 kB / 1.215 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.8601, allocations: 23.42 kB / 1.215 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8601, allocations: 4 kB / 1.215 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.8798, allocations: 1.862 MB / 1.216 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/8.413, allocations: 10.97 kB / 1.216 GB, free: 3.879 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intLesEquThr.t,intLesEquThr.u,intLesEquThr.y Variables in the result:intLesEquThr.t,intLesEquThr.u,intLesEquThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time