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.001103/0.001102, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001044/0.001044, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.428/2.428, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 64.78 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2997, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.001892/0.3016, allocations: 0.6816 MB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008117/0.3024, allocations: 0.7923 MB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.3025, allocations: 0 / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.3025, allocations: 7.938 kB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.3026, allocations: 3.938 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.147e-05/0.3026, allocations: 7.984 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.3027, allocations: 23.98 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3028, allocations: 3.938 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.3029, allocations: 11.94 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.3029, allocations: 15.92 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.303, allocations: 7.938 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.294e-06/0.303, allocations: 0 / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.303, allocations: 4 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.303, allocations: 19.91 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.869e-05/0.3031, allocations: 19.91 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3031, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3031, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3031, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 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.0004128/0.3036, allocations: 339.5 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.3036, allocations: 8.031 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.3036, allocations: 16.83 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.3037, allocations: 164.4 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3038, allocations: 384 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.3038, allocations: 8.375 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3039, allocations: 42.23 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.304, allocations: 4.188 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.304, allocations: 11.92 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.304, allocations: 0 / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.3042, allocations: 35.91 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.3045, allocations: 249 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3046, allocations: 38.5 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/0.3047, allocations: 28.89 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3047, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.3047, allocations: 34.56 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3047, allocations: 3.938 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003135/0.3051, allocations: 81.55 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.3051, allocations: 51.41 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.3052, allocations: 97.86 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.3052, allocations: 29.83 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.3052, allocations: 88.14 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.3053, allocations: 7.891 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.3053, allocations: 13.72 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.3054, allocations: 314.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.3055, allocations: 11.98 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.709e-05/0.3056, allocations: 19.98 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3057, allocations: 44.81 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3057, allocations: 3.938 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001795/0.3059, allocations: 65.61 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3059, allocations: 11.92 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3059, allocations: 0 / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.306, allocations: 4.031 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.306, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3061, allocations: 4 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.3061, allocations: 7.984 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.3061, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.3062, allocations: 113.8 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3062, allocations: 4 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.3062, allocations: 7.109 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3063, allocations: 4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3063, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3063, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.3064, allocations: 165.5 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3064, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.3065, allocations: 8.234 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3065, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3065, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3065, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3065, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.3068, allocations: 171.4 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.3068, allocations: 81.05 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3069, allocations: 4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.3069, allocations: 7.984 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.307, allocations: 4 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.307, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.307, allocations: 87.3 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.5e-07/0.307, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002185/0.3073, allocations: 4 kB / 1.031 GB, free: 13.63 MB / 0.8106 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 (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.0001116/0.3074, allocations: 103.2 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.3076, allocations: 39.95 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3076, allocations: 4.062 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.3077, allocations: 15.98 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.308, allocations: 11.94 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.3082, allocations: 101.5 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.3085, allocations: 0.6768 MB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.359e-05/0.3085, allocations: 7.938 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/0.3085, allocations: 11.5 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3085, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of Templates: time 0.002291/0.3108, allocations: 0.4925 MB / 1.032 GB, free: 12.12 MB / 0.8106 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches