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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 104.5 kB / 16.35 MB, free: 6.289 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.001271/0.001271, allocations: 193.4 kB / 17.3 MB, free: 5.859 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.479/1.479, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.699/2.699, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 68.17 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4187, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002372/0.4211, allocations: 0.8346 MB / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.4223, allocations: 0.8662 MB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.4225, allocations: 4 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.4226, allocations: 23.8 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.356e-05/0.4227, allocations: 11.92 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.4229, allocations: 23.91 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.4231, allocations: 71.78 kB / 1.029 GB, free: 228 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.4232, allocations: 35.98 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.4234, allocations: 31.84 kB / 1.029 GB, free: 160 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.4235, allocations: 27.84 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.4235, allocations: 4 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.4235, allocations: 8 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.4236, allocations: 11.94 kB / 1.029 GB, free: 108 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.4236, allocations: 31.8 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.4238, allocations: 79.73 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4238, allocations: 3.938 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4238, allocations: 8 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.4238, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 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.0006734/0.4245, allocations: 387.1 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.4246, allocations: 8.031 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.4246, allocations: 12.83 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.425, allocations: 196.2 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.425, allocations: 12.38 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.425, allocations: 8.375 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.4252, allocations: 66.11 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4252, allocations: 192 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.4252, allocations: 7.938 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4252, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.4254, allocations: 35.97 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.426, allocations: 316.6 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.4262, allocations: 50.55 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.4262, allocations: 16.92 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.4263, allocations: 0 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.4263, allocations: 34.64 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4263, allocations: 4 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002944/0.4266, allocations: 81.78 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.4266, allocations: 51.41 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.4268, allocations: 131.9 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.4268, allocations: 29.7 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.4269, allocations: 104 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.4269, allocations: 7.906 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.427, allocations: 21.72 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4271, allocations: 318.8 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.648e-05/0.4272, allocations: 16 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.353e-05/0.4273, allocations: 15.98 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-05/0.4273, allocations: 28.84 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4274, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001479/0.4275, allocations: 69.52 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4275, allocations: 15.94 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4276, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4276, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.4276, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4277, allocations: 3.984 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.4277, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4278, allocations: 7.984 kB / 1.031 GB, free: 13.73 MB / 0.8106 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 0.0001001/0.4279, allocations: 121.7 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.4279, allocations: 11.91 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.4279, allocations: 8.25 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4279, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.428, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.428, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.4282, allocations: 185.6 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4282, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.4282, allocations: 11.92 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4282, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.4283, allocations: 3.938 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4283, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4283, allocations: 8 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.4285, allocations: 159.4 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.4285, allocations: 81.11 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.4285, allocations: 4 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.4286, allocations: 7.984 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.4287, allocations: 7.984 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4287, allocations: 8 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001097/0.4288, allocations: 109.8 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4288, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002289/0.4291, allocations: 11.94 kB / 1.031 GB, free: 12.91 MB / 0.8106 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.000138/0.4292, allocations: 107.2 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001614/0.4294, allocations: 36.16 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4294, allocations: 0 / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.4295, allocations: 16 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.4297, allocations: 12.12 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004218/0.4302, allocations: 166.6 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4305, allocations: 0.7001 MB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.166e-05/0.4305, allocations: 7.938 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.4306, allocations: 11.44 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/0.4306, allocations: 0 / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.003303/0.4339, allocations: 0.842 MB / 1.033 GB, free: 10.96 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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