Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_11_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.001203/0.001203, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 194.6 kB / 16.53 MB, free: 6.684 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.63/2.63, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 72.39 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2506, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002116/0.2527, allocations: 0.8839 MB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2538, allocations: 0.8798 MB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.2539, allocations: 7.938 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.2541, allocations: 15.86 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.666e-05/0.2541, allocations: 7.875 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.2543, allocations: 39.88 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.2544, allocations: 107.7 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.2546, allocations: 47.97 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.847e-05/0.2547, allocations: 39.84 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.2548, allocations: 39.83 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.2548, allocations: 11.94 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.2548, allocations: 4 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.2548, allocations: 23.92 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.2549, allocations: 39.69 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.255, allocations: 95.97 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2551, allocations: 0 / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.115e-06/0.2551, allocations: 0 / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.2551, allocations: 7.938 kB / 1.066 GB, free: 11.93 MB / 0.8262 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.0006051/0.2557, allocations: 407.1 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2557, allocations: 12.03 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.2558, allocations: 34.75 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.2558, allocations: 12.84 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.256, allocations: 204.1 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.256, allocations: 4.375 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2561, allocations: 8.375 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.2563, allocations: 102.1 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2563, allocations: 3.938 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2563, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2564, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.2566, allocations: 68.81 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.2571, allocations: 356.5 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.2574, allocations: 58.55 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2575, allocations: 40.92 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2575, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2575, allocations: 30.56 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2575, allocations: 4 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000444/0.258, allocations: 121.5 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.258, allocations: 51.41 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.2582, allocations: 143.4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.2582, allocations: 25.7 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.2583, allocations: 104 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.2583, allocations: 11.84 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.2583, allocations: 21.7 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2585, allocations: 314.8 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2586, allocations: 31.97 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.2587, allocations: 31.97 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.2589, allocations: 60.75 kB / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2589, allocations: 0 / 1.068 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002718/0.2592, allocations: 97.73 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2592, allocations: 8 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2592, allocations: 4 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2593, allocations: 0 / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2594, allocations: 15.92 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2594, allocations: 7.875 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2595, allocations: 15.97 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2595, allocations: 8.188 kB / 1.069 GB, free: 9.324 MB / 0.8262 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.039e-05/0.2596, allocations: 117.8 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.2596, allocations: 11.89 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.2597, allocations: 12.23 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2597, allocations: 0 / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2597, allocations: 3.938 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2597, allocations: 7.938 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.2599, allocations: 189.6 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2599, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/0.26, allocations: 15.98 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.26, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.26, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.26, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.26, allocations: 3.938 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.2603, allocations: 183.4 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.2604, allocations: 89.02 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.2604, allocations: 7.984 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.2606, allocations: 11.98 kB / 1.069 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.2606, allocations: 11.92 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.2606, allocations: 4 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.295e-05/0.2607, allocations: 105.9 kB / 1.069 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2607, allocations: 3.938 kB / 1.069 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002192/0.2609, allocations: 15.94 kB / 1.069 GB, free: 8.449 MB / 0.8262 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.0006412/0.2616, allocations: 0.726 MB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.2619, allocations: 75.88 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2619, allocations: 0 / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.262, allocations: 31.97 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.2623, allocations: 16.05 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.2641, allocations: 1.473 MB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2644, allocations: 0.6963 MB / 1.072 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.2644, allocations: 7.938 kB / 1.072 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.698e-05/0.2645, allocations: 31.36 kB / 1.072 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2645, allocations: 0 / 1.072 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.035/1.299, allocations: 2.141 MB / 1.074 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.88, allocations: 10.42 kB / 1.074 GB, free: 3.18 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches