Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 104.5 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 199.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.124/3.124, allocations: 497.2 MB / 0.7811 GB, free: 33.72 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Reals.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 76.73 kB / 1.134 GB, free: 33.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3483, allocations: 173.9 MB / 1.304 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002145/0.3504, allocations: 0.8797 MB / 1.305 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3517, allocations: 0.8857 MB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.3518, allocations: 4 kB / 1.306 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.352, allocations: 15.81 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.352, allocations: 15.86 kB / 1.306 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.3522, allocations: 35.89 kB / 1.306 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3524, allocations: 99.75 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3525, allocations: 35.98 kB / 1.306 GB, free: 15.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3526, allocations: 47.78 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3527, allocations: 47.77 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3528, allocations: 4 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.3528, allocations: 8 kB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.3528, allocations: 19.92 kB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.3529, allocations: 31.81 kB / 1.306 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.353, allocations: 107.8 kB / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3531, allocations: 0 / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3531, allocations: 3.938 kB / 1.306 GB, free: 15.26 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3531, allocations: 4 kB / 1.306 GB, free: 15.25 MB / 1.014 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.0007626/0.3538, allocations: 407.1 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3539, allocations: 8.922 kB / 1.307 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.366e-05/0.3539, allocations: 38.75 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.354, allocations: 12.84 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.3542, allocations: 205.6 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3543, allocations: 8.375 kB / 1.307 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.3543, allocations: 12.31 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.3545, allocations: 89.45 kB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3545, allocations: 7.875 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3546, allocations: 0 / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3546, allocations: 4 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.3548, allocations: 71.94 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.3554, allocations: 352.5 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.3556, allocations: 62.53 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.3557, allocations: 32.94 kB / 1.307 GB, free: 13.81 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3558, allocations: 3.984 kB / 1.307 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3558, allocations: 34.56 kB / 1.307 GB, free: 13.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3558, allocations: 0 / 1.307 GB, free: 13.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004543/0.3562, allocations: 117.7 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.3563, allocations: 59.39 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3565, allocations: 140 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3565, allocations: 25.7 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.3566, allocations: 100 kB / 1.308 GB, free: 13.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.3566, allocations: 15.89 kB / 1.308 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.3566, allocations: 17.72 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3568, allocations: 318.8 kB / 1.308 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.3569, allocations: 35.97 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.357, allocations: 27.98 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.3572, allocations: 56.8 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3572, allocations: 0 / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002649/0.3575, allocations: 109.7 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3575, allocations: 8 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3575, allocations: 3.984 kB / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3575, allocations: 0 / 1.308 GB, free: 12.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3576, allocations: 11.98 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3576, allocations: 3.938 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3577, allocations: 15.92 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3578, allocations: 4 kB / 1.309 GB, free: 12.65 MB / 1.014 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 0.0001014/0.3579, allocations: 125.8 kB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3579, allocations: 3.953 kB / 1.309 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.3579, allocations: 12.25 kB / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3579, allocations: 0 / 1.309 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3579, allocations: 7.875 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3579, allocations: 0 / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.3582, allocations: 193.6 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3582, allocations: 4 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.827e-05/0.3582, allocations: 11.92 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3582, allocations: 8 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3582, allocations: 0 / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3582, allocations: 0 / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3583, allocations: 3.938 kB / 1.309 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.3586, allocations: 187.4 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.3586, allocations: 85.06 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3586, allocations: 4 kB / 1.309 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.3588, allocations: 15.92 kB / 1.309 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.3588, allocations: 19.91 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3588, allocations: 4 kB / 1.309 GB, free: 11.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.3589, allocations: 101 kB / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3589, allocations: 0 / 1.309 GB, free: 11.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002252/0.3591, allocations: 12 kB / 1.309 GB, free: 11.77 MB / 1.014 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.0007594/0.3599, allocations: 0.728 MB / 1.31 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.3602, allocations: 59.94 kB / 1.31 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3602, allocations: 4 kB / 1.31 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.3603, allocations: 39.91 kB / 1.31 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.3606, allocations: 21.58 kB / 1.31 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.3628, allocations: 1.479 MB / 1.312 GB, free: 9.328 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.3633, allocations: 0.6924 MB / 1.312 GB, free: 8.609 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.72e-05/0.3634, allocations: 4.188 kB / 1.312 GB, free: 8.605 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.3635, allocations: 27.42 kB / 1.312 GB, free: 8.578 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.3635, allocations: 4 kB / 1.312 GB, free: 8.574 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.3926, allocations: 2.218 MB / 1.314 GB, free: 6.453 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.56, allocations: 0.625 kB / 1.314 GB, free: 6.453 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.201403250917792]