Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_11_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.001585/0.001585, allocations: 108 kB / 15.6 MB, free: 132 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.001716/0.001716, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.687/2.687, allocations: 469.8 MB / 0.7424 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 70.92 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2608, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00188/0.2627, allocations: 0.8209 MB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009169/0.2636, allocations: 0.868 MB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.2637, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.607e-05/0.2637, allocations: 15.81 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.189e-05/0.2638, allocations: 19.91 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.2639, allocations: 27.91 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.264, allocations: 63.86 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.2641, allocations: 35.91 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.2642, allocations: 39.84 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.995e-05/0.2642, allocations: 23.84 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2642, allocations: 8 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.2643, allocations: 4 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.2643, allocations: 15.94 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.2643, allocations: 27.8 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.768e-05/0.2644, allocations: 83.95 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.2644, allocations: 0 / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.21e-07/0.2644, allocations: 0 / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.2644, allocations: 0 / 1.066 GB, free: 12.09 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004256/0.2649, allocations: 391.2 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.2649, allocations: 12.03 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.2649, allocations: 30.75 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.265, allocations: 12.83 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.2652, allocations: 209.9 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.2652, allocations: 4.375 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.2652, allocations: 12.25 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.2653, allocations: 66.23 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2653, allocations: 3.938 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.2653, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-06/0.2653, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.2654, allocations: 39.91 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.2659, allocations: 316.8 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.266, allocations: 46.58 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.2661, allocations: 16.92 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.2661, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.2661, allocations: 38.64 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.2661, allocations: 4 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002046/0.2663, allocations: 77.52 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.2664, allocations: 51.41 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2665, allocations: 133.8 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2665, allocations: 25.7 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.2666, allocations: 104 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.2666, allocations: 3.906 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.2666, allocations: 17.72 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2668, allocations: 330.8 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.2668, allocations: 15.98 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.2669, allocations: 12 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.2669, allocations: 24.84 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2669, allocations: 0 / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.2671, allocations: 73.52 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.2671, allocations: 5.25 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.2671, allocations: 4 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.2671, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.2672, allocations: 11.98 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.2672, allocations: 0 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.2673, allocations: 11.98 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2673, allocations: 3.938 kB / 1.068 GB, free: 9.793 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 (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 7.993e-05/0.2674, allocations: 113.8 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.2674, allocations: 7.906 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.2674, allocations: 12.58 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2674, allocations: 4 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.2675, allocations: 7.875 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2675, allocations: 3.984 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.2676, allocations: 181.6 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2677, allocations: 3.984 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.2677, allocations: 4 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2677, allocations: 0 / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.2677, allocations: 0 / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2677, allocations: 0 / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.2677, allocations: 8 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.2679, allocations: 163.3 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.268, allocations: 85.02 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.268, allocations: 3.984 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.2681, allocations: 8 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.2681, allocations: 11.98 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.2681, allocations: 7.984 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.028e-05/0.2682, allocations: 104.8 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2682, allocations: 0 / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002023/0.2684, allocations: 11.94 kB / 1.069 GB, free: 8.969 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 (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.0004774/0.2689, allocations: 0.6928 MB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.269, allocations: 39.97 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2691, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.952e-05/0.2691, allocations: 12 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.2694, allocations: 15.92 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.2707, allocations: 1.377 MB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.271, allocations: 0.6885 MB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.2711, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.2711, allocations: 23.42 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2711, allocations: 4 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8211/1.092, allocations: 1.969 MB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/11.11, allocations: 0 / 1.074 GB, free: 4.098 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches