Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEqu.u1|lesEqu.u2|lesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 104 kB / 16.35 MB, free: 5.824 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.001651/0.001652, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.41/1.41, 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 11.0.0-master/package.mo): time 2.473/2.473, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.31 kB / 0.8773 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3268, allocations: 153 MB / 1.027 GB, free: 1.984 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual): time 0.002268/0.3291, allocations: 0.7273 MB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.33, allocations: 0.8001 MB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.3301, allocations: 4 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.3301, allocations: 3.938 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/0.3302, allocations: 3.938 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.639e-05/0.3303, allocations: 7.984 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.891e-05/0.3303, allocations: 51.78 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3305, allocations: 16 kB / 1.028 GB, free: 376 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.695e-05/0.3305, allocations: 15.92 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.3306, allocations: 23.84 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3306, allocations: 4 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-06/0.3306, allocations: 4 kB / 1.028 GB, free: 328 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.3306, allocations: 8 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.3307, allocations: 19.91 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.628e-05/0.3307, allocations: 39.81 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3308, allocations: 0 / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3308, allocations: 0 / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3308, allocations: 8 kB / 1.028 GB, free: 252 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004998/0.3313, allocations: 363.4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3313, allocations: 8.031 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.3314, allocations: 8.844 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3315, allocations: 164.3 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.3315, allocations: 8.312 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3315, allocations: 384 / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.3317, allocations: 74.22 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3317, allocations: 192 / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3318, allocations: 7.922 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3318, allocations: 4 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.3321, allocations: 59.92 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.3324, allocations: 272.9 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3326, allocations: 62.41 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.3328, allocations: 36.92 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3328, allocations: 0 / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3328, allocations: 38.56 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3328, allocations: 0 / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005035/0.3334, allocations: 125.6 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3334, allocations: 55.34 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.3335, allocations: 109.8 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3335, allocations: 25.7 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.3336, allocations: 88.14 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.3336, allocations: 11.88 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.3336, allocations: 17.72 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3338, allocations: 310.8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.3339, allocations: 39.89 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3341, allocations: 31.97 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.3343, allocations: 64.78 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3343, allocations: 3.938 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000286/0.3346, allocations: 105.5 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3346, allocations: 4 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3346, allocations: 7.938 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3346, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3348, allocations: 11.98 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3348, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.3349, allocations: 15.97 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.3349, allocations: 4 kB / 1.03 GB, free: 13.92 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 (lesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.051e-05/0.3349, allocations: 121.7 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.335, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.335, allocations: 7.906 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.335, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.335, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.335, allocations: 0 / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.3352, allocations: 177.5 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3352, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.486e-05/0.3353, allocations: 15.98 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3353, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.872e-06/0.3353, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3353, allocations: 4 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3353, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.3356, allocations: 207.7 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.3357, allocations: 81.05 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3357, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3358, allocations: 11.98 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.3359, allocations: 11.98 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3359, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.3359, allocations: 83.28 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3359, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002143/0.3362, allocations: 15.91 kB / 1.031 GB, free: 13.1 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 (lesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001115/0.3363, allocations: 99.23 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.3366, allocations: 75.86 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3366, allocations: 3.938 kB / 1.031 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.3367, allocations: 35.97 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.337, allocations: 15.92 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.3373, allocations: 121.5 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3376, allocations: 0.6807 MB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.619e-05/0.3376, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3376, allocations: 15.44 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3377, allocations: 0 / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of Templates: time 0.002701/0.3404, allocations: 0.7239 MB / 1.033 GB, free: 11.27 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches