Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002497/0.002497, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.608/1.608, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 67.89 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8436, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002824/0.8465, allocations: 0.9184 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.8479, allocations: 0.8896 MB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.848, allocations: 7.938 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.8482, allocations: 3.938 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/0.8483, allocations: 15.86 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.8485, allocations: 31.91 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.8487, allocations: 103.6 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.8488, allocations: 47.95 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.849, allocations: 39.86 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.8491, allocations: 35.83 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.8491, allocations: 4 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.8491, allocations: 4 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.8492, allocations: 19.86 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.8493, allocations: 39.73 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.8494, allocations: 91.7 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.8495, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8495, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8495, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 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.0008105/0.8503, allocations: 409.1 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.8503, allocations: 8.031 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.901e-05/0.8504, allocations: 12.83 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.8507, allocations: 206.4 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.8508, allocations: 12.38 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.8508, allocations: 12.31 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.8511, allocations: 90.14 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8511, allocations: 192 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.8511, allocations: 7.938 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.8511, allocations: 0 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.8514, allocations: 71.94 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.852, allocations: 344.6 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.8523, allocations: 66.55 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.8524, allocations: 36.92 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.8525, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.8525, allocations: 30.56 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.8525, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004785/0.853, allocations: 129.5 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.853, allocations: 51.41 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.8532, allocations: 133.8 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.8532, allocations: 29.7 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.8533, allocations: 104 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.8533, allocations: 7.812 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.8534, allocations: 25.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.8536, allocations: 322.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.8537, allocations: 27.98 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.8538, allocations: 27.97 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.854, allocations: 52.81 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.854, allocations: 11.94 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003099/0.8544, allocations: 97.48 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.8544, allocations: 8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8544, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.8544, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.8545, allocations: 11.98 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.8546, allocations: 7.922 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.8547, allocations: 19.98 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.8547, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 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 0.0001146/0.8548, allocations: 122.3 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.8548, allocations: 3.906 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.855, allocations: 16.23 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.855, allocations: 192 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.855, allocations: 12.06 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.855, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.8552, allocations: 193.6 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.8552, allocations: 7.938 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.173e-05/0.8553, allocations: 11.98 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8553, allocations: 4 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.8553, allocations: 0 / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.8553, allocations: 0 / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.8554, allocations: 3.938 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.8557, allocations: 187.4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.8558, allocations: 89 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.8558, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.8559, allocations: 11.98 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.856, allocations: 11.92 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.856, allocations: 11.98 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.769e-05/0.8561, allocations: 97.77 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8561, allocations: 4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002319/0.8563, allocations: 16 kB / 1.022 GB, free: 13.06 MB / 0.7794 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.0001594/0.8565, allocations: 99.19 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.8568, allocations: 67.94 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8568, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.857, allocations: 35.97 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.8574, allocations: 11.98 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.8579, allocations: 228.5 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.8584, allocations: 0.6926 MB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.074e-05/0.8585, allocations: 7.984 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.8586, allocations: 11.38 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.8586, allocations: 0 / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of Templates: time 0.003945/0.8625, allocations: 0.8635 MB / 1.024 GB, free: 11 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches