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: 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.001587/0.001587, 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.002476/0.002476, allocations: 192.7 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.538/1.538, 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 12.0.0-master/package.mo): time 3.048/3.048, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001535, allocations: 69.25 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4109, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002448/0.4134, allocations: 0.8188 MB / 1.069 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4146, allocations: 0.88 MB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.4147, allocations: 7.938 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.4149, allocations: 19.86 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.029e-05/0.4149, allocations: 7.875 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.4151, allocations: 27.95 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.4153, allocations: 71.78 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.4154, allocations: 35.92 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.845e-05/0.4155, allocations: 23.92 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.4156, allocations: 31.84 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.4157, allocations: 4 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.4157, allocations: 4 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.4157, allocations: 19.92 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.518e-05/0.4158, allocations: 27.75 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.4159, allocations: 80.02 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4159, allocations: 4 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4159, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4159, allocations: 0 / 1.07 GB, free: 8.406 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.0005616/0.4165, allocations: 387.1 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4165, allocations: 12.03 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.4166, allocations: 8.844 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.4168, allocations: 193.7 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4168, allocations: 4.375 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.4168, allocations: 12.38 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.417, allocations: 66.11 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.417, allocations: 192 / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.417, allocations: 7.875 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4171, allocations: 0 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.4172, allocations: 39.97 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.4177, allocations: 316.7 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.4179, allocations: 50.55 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.4179, allocations: 16.92 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.418, allocations: 96 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.418, allocations: 38.55 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.418, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0002642/0.4183, allocations: 77.61 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.4183, allocations: 51.41 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4184, allocations: 135.1 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.4185, allocations: 29.7 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.4185, allocations: 100.1 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.4185, allocations: 11.91 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.4186, allocations: 13.72 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4187, allocations: 322.8 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.463e-05/0.4188, allocations: 15.98 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.533e-05/0.4188, allocations: 12 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.924e-05/0.4189, allocations: 33.12 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4189, allocations: 3.938 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001383/0.4191, allocations: 73.56 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4191, allocations: 8 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4191, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4191, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.937e-05/0.4192, allocations: 7.984 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.4192, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.4193, allocations: 11.98 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4193, allocations: 0 / 1.072 GB, free: 6.164 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 9.358e-05/0.4194, allocations: 121.8 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.4194, allocations: 7.906 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.4195, allocations: 8.25 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4195, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4195, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4195, allocations: 3.938 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.4197, allocations: 185.6 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4197, allocations: 3.984 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.4197, allocations: 11.94 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.4198, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.4198, allocations: 4 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4198, allocations: 0 / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4198, allocations: 3.938 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.42, allocations: 159.4 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.42, allocations: 85.02 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.42, allocations: 3.984 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4201, allocations: 8 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.4202, allocations: 11.98 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.4202, allocations: 7.984 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.612e-05/0.4203, allocations: 100.5 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4203, allocations: 0 / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002277/0.4205, allocations: 11.94 kB / 1.073 GB, free: 5.34 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.0001627/0.4207, allocations: 103.7 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.4209, allocations: 39.97 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4209, allocations: 4 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.627e-05/0.4209, allocations: 16 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4213, allocations: 13.64 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.4217, allocations: 178.4 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.422, allocations: 0.6924 MB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.763e-05/0.4221, allocations: 288 / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.4221, allocations: 11.44 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.4221, allocations: 0 / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.003348/0.4255, allocations: 0.8524 MB / 1.075 GB, free: 3.383 MB / 0.8262 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 -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/jenkins/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