Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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 12.0.0-master/package.mo", uses=false) 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.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",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.006673/0.006673, allocations: 95.44 kB / 15.73 MB, free: 6.051 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.001691/0.001691, allocations: 203 kB / 16.68 MB, free: 5.973 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.68/2.68, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 75.83 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2814, allocations: 162.3 MB / 1.242 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.0018/0.2833, allocations: 0.8229 MB / 1.243 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009503/0.2842, allocations: 0.8701 MB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.2843, allocations: 4 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.2844, allocations: 15.8 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.356e-05/0.2845, allocations: 11.94 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.2846, allocations: 31.89 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2847, allocations: 67.84 kB / 1.244 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2848, allocations: 35.92 kB / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.2849, allocations: 23.86 kB / 1.244 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.101e-05/0.285, allocations: 35.83 kB / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.285, allocations: 4 kB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.2851, allocations: 8 kB / 1.244 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.2851, allocations: 15.88 kB / 1.244 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.2851, allocations: 35.8 kB / 1.244 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.2853, allocations: 75.67 kB / 1.244 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2853, allocations: 4 kB / 1.244 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2853, allocations: 7.875 kB / 1.244 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2853, allocations: 0 / 1.244 GB, free: 7.707 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000515/0.2858, allocations: 391 kB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.2858, allocations: 8.031 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.2859, allocations: 38.75 kB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.2859, allocations: 12.89 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.2861, allocations: 193.6 kB / 1.245 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.2862, allocations: 4.375 kB / 1.245 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.2862, allocations: 4.375 kB / 1.245 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.2863, allocations: 70.16 kB / 1.245 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2863, allocations: 3.938 kB / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.2863, allocations: 0 / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.2864, allocations: 4 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.837e-05/0.2865, allocations: 31.98 kB / 1.245 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.2869, allocations: 328.6 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.2871, allocations: 42.56 kB / 1.245 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.2871, allocations: 25 kB / 1.245 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.2872, allocations: 0 / 1.245 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2872, allocations: 34.56 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2872, allocations: 0 / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002369/0.2874, allocations: 77.66 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.2875, allocations: 51.41 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2876, allocations: 135.7 kB / 1.245 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2876, allocations: 29.7 kB / 1.245 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.2877, allocations: 100.1 kB / 1.245 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.2877, allocations: 3.953 kB / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.2877, allocations: 21.7 kB / 1.245 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2879, allocations: 322.8 kB / 1.246 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.215e-05/0.2879, allocations: 15.98 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.288, allocations: 15.98 kB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.38e-05/0.2881, allocations: 37.05 kB / 1.246 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2881, allocations: 0 / 1.246 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/0.2882, allocations: 69.58 kB / 1.246 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2882, allocations: 4 kB / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.2883, allocations: 0 / 1.246 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2883, allocations: 3.984 kB / 1.246 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.2883, allocations: 7.938 kB / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.2883, allocations: 0 / 1.246 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.2884, allocations: 15.98 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2884, allocations: 7.938 kB / 1.246 GB, free: 5.406 MB / 0.9981 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 (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.454e-05/0.2885, allocations: 121.8 kB / 1.246 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.2886, allocations: 7.953 kB / 1.246 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.2886, allocations: 16.23 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2886, allocations: 0 / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2886, allocations: 0 / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.2886, allocations: 0 / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.2888, allocations: 177.6 kB / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2888, allocations: 3.938 kB / 1.246 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.2888, allocations: 12 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2889, allocations: 0 / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.2889, allocations: 0 / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2889, allocations: 3.984 kB / 1.246 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2889, allocations: 8 kB / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.2891, allocations: 159.4 kB / 1.246 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.2891, allocations: 81.06 kB / 1.247 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.2891, allocations: 4 kB / 1.247 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.2893, allocations: 11.98 kB / 1.247 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.2893, allocations: 11.98 kB / 1.247 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.2893, allocations: 0 / 1.247 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.936e-05/0.2894, allocations: 105.7 kB / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2894, allocations: 0 / 1.247 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002071/0.2896, allocations: 8 kB / 1.247 GB, free: 4.59 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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.000489/0.2901, allocations: 0.7012 MB / 1.247 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.2902, allocations: 31.98 kB / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2903, allocations: 0 / 1.247 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.356e-05/0.2903, allocations: 19.92 kB / 1.247 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.2906, allocations: 12 kB / 1.247 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.2919, allocations: 1.389 MB / 1.249 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.2922, allocations: 0.6923 MB / 1.249 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.371e-05/0.2922, allocations: 4 kB / 1.249 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.2923, allocations: 27.42 kB / 1.249 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.2923, allocations: 7.938 kB / 1.249 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.514/1.806, allocations: 1.985 MB / 1.251 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/12.21, allocations: 5.891 kB / 1.251 GB, free: 14.35 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches