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.0009862/0.0009864, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006599/0.006599, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.683/2.683, allocations: 443.3 MB / 0.7175 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003837, allocations: 12.12 kB / 0.8796 GB, free: 41.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3179, allocations: 155.2 MB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.0009109/0.3188, allocations: 411.8 kB / 1.032 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.3196, allocations: 0.7924 MB / 1.032 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.3197, allocations: 0 / 1.032 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.3197, allocations: 3.938 kB / 1.032 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.3198, allocations: 0 / 1.032 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.517e-05/0.3198, allocations: 11.98 kB / 1.032 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.456e-05/0.3199, allocations: 19.94 kB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.546e-05/0.32, allocations: 12.48 kB / 1.032 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.245e-05/0.32, allocations: 3.938 kB / 1.032 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.3201, allocations: 7.984 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.3201, allocations: 0 / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.3201, allocations: 4 kB / 1.032 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.3201, allocations: 7.938 kB / 1.032 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.3202, allocations: 29.64 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.529e-05/0.3202, allocations: 27.94 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3203, allocations: 0 / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3203, allocations: 0 / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.3203, allocations: 4 kB / 1.032 GB, free: 3.012 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.0004351/0.3207, allocations: 343.7 kB / 1.033 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3208, allocations: 12.03 kB / 1.033 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.3208, allocations: 0.9375 kB / 1.033 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.3209, allocations: 176.2 kB / 1.033 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3209, allocations: 4.312 kB / 1.033 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.321, allocations: 4.375 kB / 1.033 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.3211, allocations: 54.23 kB / 1.033 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3212, allocations: 192 / 1.033 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.3212, allocations: 3.938 kB / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3212, allocations: 0 / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.3214, allocations: 43.97 kB / 1.033 GB, free: 2.289 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.3218, allocations: 252.9 kB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3219, allocations: 50.44 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.322, allocations: 28.91 kB / 1.033 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.322, allocations: 0 / 1.033 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3221, allocations: 34.56 kB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3221, allocations: 4 kB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003619/0.3224, allocations: 93.77 kB / 1.033 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3225, allocations: 59.34 kB / 1.034 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.514e-05/0.3226, allocations: 105.8 kB / 1.034 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.3226, allocations: 25.7 kB / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.3226, allocations: 80.14 kB / 1.034 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.3227, allocations: 7.906 kB / 1.034 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.3227, allocations: 9.719 kB / 1.034 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3228, allocations: 322.8 kB / 1.034 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.3229, allocations: 23.98 kB / 1.034 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.323, allocations: 19.98 kB / 1.034 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3232, allocations: 52.88 kB / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3232, allocations: 0 / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000221/0.3235, allocations: 77.55 kB / 1.034 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3235, allocations: 8.031 kB / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3235, allocations: 256 / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3235, allocations: 0 / 1.034 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3236, allocations: 19.97 kB / 1.034 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3236, allocations: 0 / 1.034 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.3237, allocations: 19.83 kB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3237, allocations: 0 / 1.034 GB, free: 0.8867 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.454e-05/0.3238, allocations: 123.3 kB / 1.034 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.3239, allocations: 0 / 1.034 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.3239, allocations: 7.062 kB / 1.034 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3239, allocations: 4 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3239, allocations: 0 / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3239, allocations: 0 / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.3241, allocations: 165.6 kB / 1.035 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3241, allocations: 0 / 1.035 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.3241, allocations: 11.98 kB / 1.035 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3241, allocations: 4 kB / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3241, allocations: 0 / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3242, allocations: 0 / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3242, allocations: 0 / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.3244, allocations: 179.4 kB / 1.035 GB, free: 332 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.3245, allocations: 77.11 kB / 1.035 GB, free: 236 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.3245, allocations: 0 / 1.035 GB, free: 236 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.3246, allocations: 19.92 kB / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.3246, allocations: 0 / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.3246, allocations: 0 / 1.035 GB, free: 216 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.3247, allocations: 79.28 kB / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3247, allocations: 8.031 kB / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002344/0.3249, allocations: 3.984 kB / 1.035 GB, free: 124 kB / 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 (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.000116/0.325, allocations: 104.8 kB / 1.035 GB, free: 12 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.3253, allocations: 47.97 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3253, allocations: 0 / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.254e-05/0.3254, allocations: 27.91 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.3257, allocations: 11.94 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.326, allocations: 108.8 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.3262, allocations: 0.6848 MB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.3262, allocations: 0 / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.3263, allocations: 7.438 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3263, allocations: 0 / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of Templates: time 0.00243/0.3287, allocations: 399.3 kB / 1.036 GB, free: 14.69 MB / 0.795 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","/var/lib/jenkins/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