Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_9_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_9_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.001524/0.001524, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001858/0.001858, allocations: 198 kB / 17.3 MB, free: 5.883 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.427/1.427, 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 9.1.2-maint.9.1.x/package.mo): time 2.263/2.263, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 65.69 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2983, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.001969/0.3003, allocations: 0.6731 MB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007929/0.3012, allocations: 0.7982 MB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.3012, allocations: 0 / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.3012, allocations: 4 kB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.3013, allocations: 3.938 kB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.024e-05/0.3014, allocations: 8 kB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.419e-05/0.3014, allocations: 23.92 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3015, allocations: 4 kB / 0.9526 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.3016, allocations: 11.98 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.632e-05/0.3017, allocations: 15.92 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.3017, allocations: 3.938 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.3017, allocations: 4 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.3017, allocations: 7.984 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.3017, allocations: 7.938 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.276e-05/0.3018, allocations: 27.89 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3018, allocations: 4 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3018, allocations: 0 / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3018, allocations: 3.938 kB / 0.9527 GB, free: 6.434 MB / 0.7325 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.0004155/0.3023, allocations: 335.4 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3023, allocations: 12.03 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.3023, allocations: 8.844 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.884e-05/0.3024, allocations: 168.4 kB / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.3025, allocations: 384 / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3025, allocations: 4.359 kB / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3026, allocations: 50.23 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3027, allocations: 192 / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.3027, allocations: 7.875 kB / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3027, allocations: 0 / 0.9533 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3028, allocations: 39.95 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.3031, allocations: 244.9 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3033, allocations: 42.59 kB / 0.9536 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.3034, allocations: 24.84 kB / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3034, allocations: 0 / 0.9536 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3034, allocations: 34.56 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.3034, allocations: 0 / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003085/0.3037, allocations: 85.58 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3038, allocations: 51.41 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.3039, allocations: 109.8 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3039, allocations: 29.83 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.3039, allocations: 80.14 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.304, allocations: 0 / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.304, allocations: 17.72 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.3041, allocations: 314.8 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.3042, allocations: 19.98 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-05/0.3042, allocations: 11.98 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.3044, allocations: 40.89 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3044, allocations: 256 / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001631/0.3046, allocations: 73.44 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3046, allocations: 10.03 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3046, allocations: 4 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3046, allocations: 4.031 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.3047, allocations: 11.92 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3047, allocations: 0 / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.3048, allocations: 7.984 kB / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.3048, allocations: 0 / 0.9545 GB, free: 4.402 MB / 0.7325 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.67e-05/0.3049, allocations: 117.8 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.3049, allocations: 0 / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.707e-05/0.3049, allocations: 3.125 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3049, allocations: 8 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3049, allocations: 0 / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3049, allocations: 0 / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.3051, allocations: 165.5 kB / 0.9547 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3051, allocations: 0 / 0.9547 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.3051, allocations: 8 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.3051, allocations: 3.984 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3052, allocations: 4 kB / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3052, allocations: 0 / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3052, allocations: 3.938 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.3054, allocations: 163.5 kB / 0.9549 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.3054, allocations: 84.95 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.3055, allocations: 0 / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.3055, allocations: 7.984 kB / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.3056, allocations: 4 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.3056, allocations: 4 kB / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.3056, allocations: 83.31 kB / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3056, allocations: 0 / 0.9551 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002037/0.3058, allocations: 4 kB / 0.9551 GB, free: 3.656 MB / 0.7325 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.0001202/0.306, allocations: 103.2 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.3062, allocations: 43.91 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3062, allocations: 4.062 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.175e-05/0.3063, allocations: 15.98 kB / 0.9553 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3065, allocations: 11.92 kB / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.3068, allocations: 93.64 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.307, allocations: 0.6805 MB / 0.956 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.307, allocations: 0 / 0.956 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.3071, allocations: 11.5 kB / 0.956 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.3071, allocations: 4 kB / 0.956 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of Templates: time 0.002281/0.3093, allocations: 0.4969 MB / 0.9565 GB, free: 2.145 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches