Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009553/0.0009552, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003538, allocations: 8 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7904, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.001234/0.7917, allocations: 404.8 kB / 1.021 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.7929, allocations: 0.7884 MB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.793, allocations: 0 / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.793, allocations: 3.984 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.323e-05/0.7931, allocations: 8 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.374e-05/0.7932, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.304e-05/0.7932, allocations: 15.97 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.7934, allocations: 11.94 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.7934, allocations: 0 / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.398e-05/0.7935, allocations: 19.92 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.7935, allocations: 4 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.361e-06/0.7935, allocations: 0 / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.7935, allocations: 0 / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.7936, allocations: 25.7 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.08e-05/0.7936, allocations: 23.94 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.7937, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7937, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.7937, allocations: 0 / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004402/0.7941, allocations: 345.3 kB / 1.022 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.7942, allocations: 11.98 kB / 1.022 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.7942, allocations: 4 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.7943, allocations: 163 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.7944, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.7944, allocations: 4 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.7946, allocations: 65.56 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.7946, allocations: 0 / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.7946, allocations: 4 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.7946, allocations: 4 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.7948, allocations: 43.95 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.7951, allocations: 264.7 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.7953, allocations: 46.53 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.7953, allocations: 0 / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.7953, allocations: 34.56 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.7953, allocations: 4.062 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003547/0.7957, allocations: 101.7 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.7958, allocations: 51.41 kB / 1.023 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/0.7958, allocations: 101.9 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.7959, allocations: 25.7 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.7959, allocations: 84.12 kB / 1.023 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.7959, allocations: 3.906 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.7959, allocations: 3.938 kB / 1.023 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7961, allocations: 318.8 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/0.7962, allocations: 20.02 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.71e-05/0.7962, allocations: 27.97 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.7963, allocations: 16.05 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7963, allocations: 4 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001861/0.7965, allocations: 73.62 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.7966, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7966, allocations: 4 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.7966, allocations: 3.984 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.7967, allocations: 12.03 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.7967, allocations: 4 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.7967, allocations: 7.984 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.7968, allocations: 4 kB / 1.024 GB, free: 13.75 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.465e-05/0.7969, allocations: 109.8 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.7969, allocations: 3.953 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.7969, allocations: 15.12 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.7969, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7969, allocations: 3.984 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.797, allocations: 0 / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.7971, allocations: 157.6 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7971, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.7972, allocations: 11.98 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.7972, allocations: 3.953 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.7972, allocations: 3.938 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7972, allocations: 4 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7972, allocations: 4 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.7975, allocations: 163.5 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.7975, allocations: 85.14 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.7976, allocations: 3.953 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.7976, allocations: 11.98 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.7977, allocations: 4.188 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.7977, allocations: 7.938 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.7978, allocations: 87.27 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7978, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002077/0.798, allocations: 8 kB / 1.025 GB, free: 12.98 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: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/0.7981, allocations: 101.1 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.7983, allocations: 43.97 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7983, allocations: 64 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.866e-05/0.7984, allocations: 31.97 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.7987, allocations: 4.562 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.799, allocations: 108.6 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.7993, allocations: 0.6849 MB / 1.025 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.7993, allocations: 0 / 1.025 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.7993, allocations: 7.438 kB / 1.025 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.7993, allocations: 0 / 1.025 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.002181/0.8015, allocations: 386.3 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches