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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0007888/0.0007888, allocations: 91.14 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.005222/0.005222, allocations: 172.3 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.323/2.323, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 9.562 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.22, allocations: 159.6 MB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0007058/0.2207, allocations: 447.5 kB / 1.059 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006976/0.2214, allocations: 0.8351 MB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.2215, allocations: 0 / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.2215, allocations: 3.984 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.84e-05/0.2216, allocations: 3.938 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.2217, allocations: 19.97 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.2217, allocations: 47.86 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.2218, allocations: 11.98 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.2219, allocations: 19.92 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.2219, allocations: 19.91 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.222, allocations: 4 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-06/0.222, allocations: 0 / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.222, allocations: 7.984 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.222, allocations: 49.52 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.478e-05/0.2221, allocations: 43.84 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2221, allocations: 4 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2221, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.545e-06/0.2221, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 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.0003824/0.2225, allocations: 347.7 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2225, allocations: 11.97 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.23e-05/0.2226, allocations: 46.73 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.916e-05/0.2226, allocations: 0.9375 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2227, allocations: 180.2 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2227, allocations: 384 / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.2227, allocations: 8.375 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2229, allocations: 73.59 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.2229, allocations: 0 / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.2229, allocations: 0 / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.223, allocations: 4 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.2232, allocations: 59.95 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.2235, allocations: 300.7 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.2237, allocations: 66.48 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.2238, allocations: 36.91 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2238, allocations: 4 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.2238, allocations: 34.56 kB / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2238, allocations: 0 / 1.061 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003717/0.2242, allocations: 129.5 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.2243, allocations: 51.41 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.2243, allocations: 113.8 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.2243, allocations: 29.7 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.2244, allocations: 80.14 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.2244, allocations: 15.8 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.2244, allocations: 13.72 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.2245, allocations: 318.8 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.743e-05/0.2246, allocations: 35.97 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.2247, allocations: 23.98 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.2249, allocations: 64.81 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2249, allocations: 0 / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002292/0.2251, allocations: 97.58 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.2252, allocations: 8 kB / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2252, allocations: 0 / 1.062 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2252, allocations: 4 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.2253, allocations: 11.98 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.2253, allocations: 0 / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.2254, allocations: 11.98 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2254, allocations: 3.938 kB / 1.062 GB, free: 1.004 MB / 0.8106 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 6.509e-05/0.2255, allocations: 122.1 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.2255, allocations: 3.906 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.2255, allocations: 11.89 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2255, allocations: 3.984 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.2255, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2255, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.2257, allocations: 181.5 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2257, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/0.2258, allocations: 19.86 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2258, allocations: 4 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2258, allocations: 7.984 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.2258, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2258, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.2261, allocations: 191.4 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.2261, allocations: 85.02 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.2261, allocations: 0 / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.2262, allocations: 11.98 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.2263, allocations: 11.98 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.2263, allocations: 0 / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.2263, allocations: 83.28 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2263, allocations: 0 / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001964/0.2265, allocations: 15.94 kB / 1.063 GB, free: 172 kB / 0.8106 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.000483/0.227, allocations: 0.7319 MB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.2272, allocations: 59.95 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2272, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.2274, allocations: 43.91 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.2276, allocations: 4 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.2288, allocations: 1.349 MB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.229, allocations: 0.6809 MB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.679e-05/0.2291, allocations: 8 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.2291, allocations: 19.42 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2291, allocations: 0 / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.155/2.384, allocations: 1.542 MB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/2.384, allocations: 226.4 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/4.19, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8262 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) Reference file matches