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.001682/0.001682, allocations: 107.3 kB / 16.27 MB, free: 6.355 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.001246/0.001246, allocations: 192.3 kB / 17.2 MB, free: 5.953 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.433/1.433, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.587/2.587, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 63.94 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3076, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002235/0.3098, allocations: 0.8774 MB / 1.019 GB, free: 9.773 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.311, allocations: 0.8911 MB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.3111, allocations: 4 kB / 1.02 GB, free: 8.867 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3112, allocations: 11.88 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.3113, allocations: 11.81 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.3114, allocations: 39.94 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3116, allocations: 107.6 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.3118, allocations: 47.97 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.3119, allocations: 47.77 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.694e-05/0.312, allocations: 39.84 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.312, allocations: 8 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.312, allocations: 8 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.921e-05/0.3121, allocations: 15.92 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.3121, allocations: 43.73 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.3122, allocations: 91.7 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3123, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.576e-06/0.3123, allocations: 4 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3123, allocations: 3.938 kB / 1.02 GB, free: 8.395 MB / 0.795 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.0006714/0.313, allocations: 409.5 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.313, allocations: 8.922 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.313, allocations: 12.84 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.3133, allocations: 208.1 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3133, allocations: 8.312 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.3133, allocations: 8.375 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.3136, allocations: 90.19 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3136, allocations: 192 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.3136, allocations: 3.938 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3136, allocations: 4 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002455/0.3139, allocations: 71.94 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.3144, allocations: 344.5 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.3147, allocations: 70.47 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3148, allocations: 40.92 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.3148, allocations: 0 / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.3149, allocations: 34.5 kB / 1.021 GB, free: 6.945 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3149, allocations: 4 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004635/0.3154, allocations: 121.5 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.3154, allocations: 51.41 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3155, allocations: 132.4 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3156, allocations: 29.7 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.3156, allocations: 104 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.3157, allocations: 15.75 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3157, allocations: 21.7 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3159, allocations: 318.8 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.316, allocations: 31.97 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.3161, allocations: 31.91 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.3163, allocations: 56.81 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3163, allocations: 0 / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002793/0.3166, allocations: 101.7 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3167, allocations: 4 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3167, allocations: 0 / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3167, allocations: 4 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.3168, allocations: 7.984 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.3168, allocations: 11.94 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3169, allocations: 23.91 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-06/0.3169, allocations: 0 / 1.022 GB, free: 5.836 MB / 0.795 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.0001035/0.317, allocations: 117.8 kB / 1.023 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.3171, allocations: 7.906 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.3171, allocations: 12.25 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3171, allocations: 3.984 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3171, allocations: 7.938 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3171, allocations: 0 / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.3174, allocations: 185.6 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3174, allocations: 0 / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.3174, allocations: 15.98 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3175, allocations: 3.984 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3175, allocations: 0 / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3175, allocations: 4 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3175, allocations: 3.938 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3178, allocations: 191.3 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.3179, allocations: 81.25 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3179, allocations: 4 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.318, allocations: 15.97 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.866e-05/0.3181, allocations: 23.84 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3181, allocations: 4 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.694e-05/0.3182, allocations: 103.2 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3182, allocations: 0 / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002222/0.3184, allocations: 15.94 kB / 1.023 GB, free: 4.953 MB / 0.795 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.0001376/0.3186, allocations: 99.25 kB / 1.023 GB, free: 4.844 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002955/0.3189, allocations: 67.94 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3189, allocations: 8 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.319, allocations: 39.91 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3193, allocations: 11.16 kB / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.3197, allocations: 213.4 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.3201, allocations: 0.6963 MB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.3202, allocations: 15.44 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of SimCode: time 2.01e-07/0.3202, allocations: 0 / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of Templates: time 0.002835/0.323, allocations: 1.118 MB / 1.025 GB, free: 2.633 MB / 0.795 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/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