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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.009383/0.009383, allocations: 97.98 kB / 15.88 MB, free: 6.316 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.001858/0.001858, allocations: 194.6 kB / 16.79 MB, free: 6.242 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.431/1.431, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 437 MB / 0.7106 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 71.89 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.7082, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002475/0.7107, allocations: 0.9201 MB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.712, allocations: 0.8858 MB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.7121, allocations: 4 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.7123, allocations: 7.875 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.085e-05/0.7124, allocations: 15.91 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.7126, allocations: 27.92 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.7128, allocations: 95.67 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.713, allocations: 51.95 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.7131, allocations: 43.78 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.7132, allocations: 39.78 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.7132, allocations: 4 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.663e-05/0.7133, allocations: 8 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.7133, allocations: 7.984 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.7134, allocations: 39.73 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.7135, allocations: 71.84 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.7135, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.32e-07/0.7135, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.7135, allocations: 0 / 1.019 GB, free: 0.5664 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.000692/0.7142, allocations: 417.1 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.7142, allocations: 8.031 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.7143, allocations: 8.844 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.7146, allocations: 209.4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.7146, allocations: 4.375 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.7146, allocations: 8.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.7149, allocations: 86.2 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7149, allocations: 4.188 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.7149, allocations: 3.938 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.7149, allocations: 7.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.7152, allocations: 71.92 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.7158, allocations: 348.6 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.716, allocations: 70.47 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.7162, allocations: 40.92 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.7162, allocations: 4 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.7162, allocations: 30.56 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.7162, allocations: 3.938 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000486/0.7167, allocations: 113.5 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.7168, allocations: 55.39 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.7169, allocations: 140.1 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.7169, allocations: 33.7 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.717, allocations: 104 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.717, allocations: 7.812 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.7171, allocations: 21.66 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7172, allocations: 322.8 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.7174, allocations: 27.97 kB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.7175, allocations: 31.98 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.7177, allocations: 56.8 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7177, allocations: 0 / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002878/0.718, allocations: 97.55 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.718, allocations: 8 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.718, allocations: 4 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7181, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.7182, allocations: 15.92 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.7182, allocations: 3.938 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.7183, allocations: 15.98 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.7183, allocations: 0 / 1.022 GB, free: 14.01 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.0001111/0.7184, allocations: 129.8 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.7185, allocations: 7.906 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.7185, allocations: 12.25 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.7185, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7185, allocations: 3.938 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7186, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.7188, allocations: 189.6 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7188, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-05/0.7189, allocations: 12.17 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.7189, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.7189, allocations: 12 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7189, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.7189, allocations: 3.938 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.7192, allocations: 187.3 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.7193, allocations: 88.95 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.7193, allocations: 7.938 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.7195, allocations: 15.98 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.7195, allocations: 15.91 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.7195, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.944e-05/0.7196, allocations: 103.3 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7196, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000228/0.7199, allocations: 8 kB / 1.023 GB, free: 13.12 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.0001576/0.72, allocations: 111.5 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.7203, allocations: 71.94 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.7203, allocations: 3.938 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.7205, allocations: 31.97 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.7208, allocations: 13.39 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.7213, allocations: 242.1 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.7216, allocations: 0.6965 MB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.7217, allocations: 15.44 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.7217, allocations: 0 / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.003098/0.7248, allocations: 1.116 MB / 1.025 GB, free: 10.77 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=480 -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/jenkins1/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