Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Reals.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",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.007747/0.007747, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.00127/0.00127, allocations: 199.3 kB / 16.67 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.767/2.767, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.91 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3167, allocations: 151.6 MB / 1.166 GB, free: 7.215 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002126/0.3189, allocations: 0.8755 MB / 1.167 GB, free: 6.34 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3201, allocations: 0.8858 MB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.3202, allocations: 4 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.3204, allocations: 15.8 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.173e-05/0.3205, allocations: 15.88 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.3207, allocations: 43.89 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3208, allocations: 91.77 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.321, allocations: 51.91 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.3211, allocations: 39.84 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.3212, allocations: 43.78 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.3213, allocations: 8 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.3213, allocations: 8 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.3213, allocations: 19.91 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.3214, allocations: 35.8 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.3215, allocations: 110.4 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3215, allocations: 0 / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3215, allocations: 0 / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3216, allocations: 0 / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00062/0.3222, allocations: 404 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3222, allocations: 8.031 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.3223, allocations: 42.73 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.3223, allocations: 16.75 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.3226, allocations: 204.1 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3227, allocations: 8.375 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.3227, allocations: 4.375 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.3229, allocations: 97.95 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3229, allocations: 3.938 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.323, allocations: 4 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.323, allocations: 0 / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.3232, allocations: 71.94 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.3237, allocations: 348.5 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.324, allocations: 78.52 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3241, allocations: 32.92 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3241, allocations: 0 / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3241, allocations: 34.5 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3241, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004142/0.3246, allocations: 125.5 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.3246, allocations: 51.41 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3247, allocations: 139.9 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.3248, allocations: 29.7 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.3248, allocations: 104 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.3249, allocations: 3.906 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.3249, allocations: 21.7 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.325, allocations: 322.8 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3251, allocations: 31.97 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.659e-05/0.3252, allocations: 27.97 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.3254, allocations: 56.75 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3254, allocations: 4 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002494/0.3257, allocations: 101.7 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3257, allocations: 4 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3257, allocations: 0 / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3257, allocations: 8 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3259, allocations: 11.98 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3259, allocations: 3.938 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.326, allocations: 19.97 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.326, allocations: 0 / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.118e-05/0.3261, allocations: 117.8 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.3261, allocations: 7.906 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.3262, allocations: 12.25 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3262, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3262, allocations: 3.938 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3262, allocations: 7.922 kB / 1.171 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.3264, allocations: 189.6 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3264, allocations: 0 / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.3265, allocations: 11.98 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3265, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3265, allocations: 3.984 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3265, allocations: 4 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3265, allocations: 3.938 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.3268, allocations: 187.4 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.3269, allocations: 85.02 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.3269, allocations: 0 / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.327, allocations: 15.97 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.3271, allocations: 19.86 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.3271, allocations: 0 / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.503e-05/0.3272, allocations: 105.1 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3272, allocations: 4 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002315/0.3274, allocations: 15.84 kB / 1.171 GB, free: 1.48 MB / 0.92 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * 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.000611/0.328, allocations: 0.7204 MB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.3283, allocations: 71.92 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3284, allocations: 0 / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3285, allocations: 39.95 kB / 1.172 GB, free: 0.625 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3288, allocations: 15.94 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.3306, allocations: 1.48 MB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3308, allocations: 0.6924 MB / 1.174 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.057e-05/0.3309, allocations: 11.98 kB / 1.174 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.3309, allocations: 19.44 kB / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.3309, allocations: 0 / 1.174 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.3509, allocations: 2.189 MB / 1.177 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.787, allocations: 9.938 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,les.u1,les.u2,les.y,lesHys.y Variables in the result:les.h,les.pre_y_start,les.u1,les.u2,les.y,lesHys.h,lesHys.pre_y_start,lesHys.u1,lesHys.u2,lesHys.y,ram1.duration,ram1.height,ram1.offset,ram1.startTime,ram1.y,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,sin.y,time