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.001439/0.001439, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001588/0.001588, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.473/1.473, 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 10.1.0-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.94 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2882, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001967/0.2902, allocations: 0.8672 MB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.2911, allocations: 0.8912 MB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.2912, allocations: 4 kB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.2913, allocations: 15.8 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.509e-05/0.2914, allocations: 11.88 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.2916, allocations: 43.88 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.2917, allocations: 99.61 kB / 1.021 GB, free: 7.879 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2919, allocations: 51.95 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.292, allocations: 39.84 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.2921, allocations: 43.84 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.2921, allocations: 4 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.2921, allocations: 8 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.2921, allocations: 19.92 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.2922, allocations: 39.73 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.2923, allocations: 103.6 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2923, allocations: 0 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2923, allocations: 0 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2923, allocations: 0 / 1.021 GB, free: 7.574 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.0005513/0.2929, allocations: 415.1 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.2929, allocations: 8.922 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.293, allocations: 8.844 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.2932, allocations: 204.1 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.2932, allocations: 8.375 kB / 1.022 GB, free: 6.855 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2932, allocations: 4.375 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.2935, allocations: 98.14 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2935, allocations: 192 / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.2935, allocations: 3.938 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2935, allocations: 0 / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.2937, allocations: 76.44 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.2942, allocations: 352.5 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.2945, allocations: 74.52 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.2946, allocations: 32.92 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.2946, allocations: 0 / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.2947, allocations: 34.56 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2947, allocations: 0 / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0004181/0.2951, allocations: 125.5 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.2951, allocations: 51.41 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.2952, allocations: 140.4 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2952, allocations: 29.7 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.2953, allocations: 100 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.2953, allocations: 11.75 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.2954, allocations: 17.72 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.2955, allocations: 322.8 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.2956, allocations: 35.91 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2957, allocations: 31.97 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.2959, allocations: 60.75 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2959, allocations: 4 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002502/0.2962, allocations: 97.55 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2962, allocations: 8 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.2962, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2962, allocations: 4 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.2963, allocations: 11.98 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2963, allocations: 3.938 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.2964, allocations: 15.97 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.2965, allocations: 7.984 kB / 1.023 GB, free: 5 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 7.531e-05/0.2965, allocations: 114.5 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.2966, allocations: 7.906 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.2966, allocations: 16.19 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2966, allocations: 0 / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2966, allocations: 3.938 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2966, allocations: 0 / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.2968, allocations: 193.6 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2968, allocations: 4 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.123e-05/0.2969, allocations: 7.984 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2969, allocations: 4 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.2969, allocations: 0 / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2969, allocations: 3.984 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2969, allocations: 8.125 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.2972, allocations: 183.4 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.2973, allocations: 89.02 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.2973, allocations: 0 / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2974, allocations: 19.91 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.2975, allocations: 19.92 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.2975, allocations: 7.938 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.716e-05/0.2976, allocations: 99.27 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2976, allocations: 0 / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002354/0.2978, allocations: 15.94 kB / 1.024 GB, free: 4.121 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.0001175/0.2979, allocations: 110 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.2982, allocations: 63.95 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2982, allocations: 3.938 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.2984, allocations: 40.14 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2987, allocations: 15.11 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.299, allocations: 175.2 kB / 1.024 GB, free: 3.691 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.2993, allocations: 0.7041 MB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.007e-05/0.2993, allocations: 4 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.2993, allocations: 15.44 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.2994, allocations: 0 / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of Templates: time 0.00314/0.3025, allocations: 1.006 MB / 1.026 GB, free: 1.941 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=480 -s gbode -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