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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00427/0.00427, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001176/0.001176, allocations: 192.4 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.62/2.62, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 70.5 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2722, allocations: 162.3 MB / 1.242 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001813/0.274, allocations: 0.8737 MB / 1.243 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009761/0.275, allocations: 0.8857 MB / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.2751, allocations: 0 / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.2752, allocations: 19.8 kB / 1.244 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.2753, allocations: 11.86 kB / 1.244 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.2754, allocations: 35.89 kB / 1.244 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.2756, allocations: 103.7 kB / 1.244 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2757, allocations: 43.97 kB / 1.244 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.2758, allocations: 47.89 kB / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.2759, allocations: 35.78 kB / 1.244 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.2759, allocations: 8 kB / 1.244 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.2759, allocations: 8 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.276, allocations: 23.92 kB / 1.244 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.276, allocations: 35.73 kB / 1.244 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.2762, allocations: 107.7 kB / 1.244 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2762, allocations: 0 / 1.244 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2762, allocations: 3.938 kB / 1.244 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2762, allocations: 0 / 1.244 GB, free: 6.59 MB / 0.9669 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.0005942/0.2768, allocations: 419 kB / 1.244 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2768, allocations: 12.03 kB / 1.245 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.2769, allocations: 38.73 kB / 1.245 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.706e-05/0.2769, allocations: 8.891 kB / 1.245 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.2771, allocations: 206.2 kB / 1.245 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.2772, allocations: 4.312 kB / 1.245 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.2772, allocations: 12.38 kB / 1.245 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.2774, allocations: 98.94 kB / 1.245 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2774, allocations: 3.938 kB / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2774, allocations: 0 / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2775, allocations: 0 / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.2777, allocations: 67.94 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.2782, allocations: 352.6 kB / 1.245 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.2784, allocations: 62.53 kB / 1.245 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.2786, allocations: 36.92 kB / 1.245 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2786, allocations: 7.984 kB / 1.245 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2786, allocations: 34.5 kB / 1.245 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2786, allocations: 0 / 1.245 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004286/0.279, allocations: 117.6 kB / 1.246 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.2791, allocations: 51.41 kB / 1.246 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2792, allocations: 141.8 kB / 1.246 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2792, allocations: 25.7 kB / 1.246 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.2793, allocations: 116 kB / 1.246 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.2793, allocations: 3.953 kB / 1.246 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.2794, allocations: 21.72 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2795, allocations: 318.8 kB / 1.246 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2796, allocations: 27.97 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.2797, allocations: 39.91 kB / 1.246 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.28, allocations: 56.81 kB / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.28, allocations: 0 / 1.246 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002626/0.2802, allocations: 93.59 kB / 1.246 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2803, allocations: 13.56 kB / 1.246 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2803, allocations: 0 / 1.246 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.2803, allocations: 0 / 1.246 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.2804, allocations: 16.11 kB / 1.246 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2804, allocations: 7.938 kB / 1.246 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.82e-05/0.2805, allocations: 11.98 kB / 1.246 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.2805, allocations: 11.92 kB / 1.246 GB, free: 3.973 MB / 0.9669 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 8.867e-05/0.2806, allocations: 125.8 kB / 1.247 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.2806, allocations: 7.953 kB / 1.247 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.2807, allocations: 8.25 kB / 1.247 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2807, allocations: 0 / 1.247 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2807, allocations: 3.938 kB / 1.247 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2807, allocations: 0 / 1.247 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.2809, allocations: 193.6 kB / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2809, allocations: 0 / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.281, allocations: 11.98 kB / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.281, allocations: 0 / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.281, allocations: 4 kB / 1.247 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.281, allocations: 0 / 1.247 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.281, allocations: 3.938 kB / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.2813, allocations: 191.4 kB / 1.247 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.2814, allocations: 85.06 kB / 1.247 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2814, allocations: 4 kB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2815, allocations: 19.97 kB / 1.247 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.2816, allocations: 11.92 kB / 1.247 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2816, allocations: 4 kB / 1.247 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.2817, allocations: 101.3 kB / 1.247 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2817, allocations: 0 / 1.247 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002163/0.2819, allocations: 15.95 kB / 1.247 GB, free: 3.102 MB / 0.9669 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.0006094/0.2825, allocations: 0.7247 MB / 1.248 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.2828, allocations: 71.88 kB / 1.248 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2828, allocations: 0 / 1.248 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.2829, allocations: 36.25 kB / 1.248 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.2832, allocations: 11.94 kB / 1.248 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.2849, allocations: 1.492 MB / 1.249 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.2852, allocations: 0.6963 MB / 1.25 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.244e-05/0.2852, allocations: 4 kB / 1.25 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.2853, allocations: 27.36 kB / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2853, allocations: 4 kB / 1.25 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6077/0.893, allocations: 2.184 MB / 1.252 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.104/9.997, allocations: 5.234 kB / 1.252 GB, free: 13.8 MB / 0.9825 GB (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 --timeout=400 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches