Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 104.7 kB / 15.99 MB, free: 6.348 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.001234/0.001234, allocations: 199 kB / 16.91 MB, free: 6.188 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.44 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2859, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002269/0.2882, allocations: 0.7688 MB / 0.9505 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2894, allocations: 0.8312 MB / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.2894, allocations: 0 / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.2895, allocations: 3.938 kB / 0.9513 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.018e-05/0.2896, allocations: 15.94 kB / 0.9514 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.2897, allocations: 19.92 kB / 0.9514 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.2898, allocations: 35.97 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.29, allocations: 15.98 kB / 0.9514 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.29, allocations: 27.86 kB / 0.9515 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.2901, allocations: 19.91 kB / 0.9515 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.2901, allocations: 8 kB / 0.9515 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.2902, allocations: 11.94 kB / 0.9515 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.2902, allocations: 11.98 kB / 0.9515 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.2902, allocations: 23.86 kB / 0.9515 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.957e-05/0.2903, allocations: 31.94 kB / 0.9516 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2903, allocations: 0 / 0.9516 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2903, allocations: 0 / 0.9516 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2903, allocations: 0 / 0.9516 GB, free: 7.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005414/0.2909, allocations: 357.6 kB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2909, allocations: 8.031 kB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.291, allocations: 4.938 kB / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2911, allocations: 172.3 kB / 0.9521 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2912, allocations: 8.375 kB / 0.9521 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.2912, allocations: 384 / 0.9521 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.2914, allocations: 81.69 kB / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2914, allocations: 0 / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2914, allocations: 0 / 0.9522 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2914, allocations: 3.984 kB / 0.9522 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.2917, allocations: 55.95 kB / 0.9522 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.2921, allocations: 284.8 kB / 0.9525 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.2923, allocations: 66.48 kB / 0.9526 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2925, allocations: 36.91 kB / 0.9526 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.2925, allocations: 0 / 0.9526 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2925, allocations: 34.56 kB / 0.9526 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.2925, allocations: 0 / 0.9526 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004111/0.2929, allocations: 105.5 kB / 0.9527 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.293, allocations: 55.41 kB / 0.9528 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.2931, allocations: 113.8 kB / 0.9529 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.2931, allocations: 25.7 kB / 0.9529 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.2932, allocations: 88.14 kB / 0.953 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.2932, allocations: 11.8 kB / 0.953 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.2932, allocations: 17.72 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2933, allocations: 314.8 kB / 0.9533 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2934, allocations: 27.97 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-05/0.2935, allocations: 31.97 kB / 0.9534 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.2937, allocations: 44.83 kB / 0.9534 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2937, allocations: 11.86 kB / 0.9534 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002304/0.294, allocations: 77.66 kB / 0.9535 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.294, allocations: 4 kB / 0.9535 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.294, allocations: 4 kB / 0.9535 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.294, allocations: 7.938 kB / 0.9535 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.2942, allocations: 15.98 kB / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.2942, allocations: 0 / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.2943, allocations: 11.98 kB / 0.9535 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2943, allocations: 0 / 0.9535 GB, free: 5.148 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.641e-05/0.2944, allocations: 119.8 kB / 0.9537 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.2944, allocations: 7.891 kB / 0.9537 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.2944, allocations: 3.906 kB / 0.9537 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2944, allocations: 4 kB / 0.9537 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2944, allocations: 4 kB / 0.9537 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2945, allocations: 0 / 0.9537 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.2946, allocations: 185.6 kB / 0.9539 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2946, allocations: 0 / 0.9539 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.088e-05/0.2947, allocations: 11.98 kB / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2947, allocations: 336 / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.2948, allocations: 4 kB / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2948, allocations: 0 / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2948, allocations: 0 / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.2951, allocations: 191.4 kB / 0.9541 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.2951, allocations: 81.02 kB / 0.9541 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2952, allocations: 0 / 0.9541 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2953, allocations: 11.98 kB / 0.9541 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.2953, allocations: 11.98 kB / 0.9542 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.2954, allocations: 0 / 0.9542 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.2954, allocations: 91.27 kB / 0.9542 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2954, allocations: 0 / 0.9542 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002285/0.2956, allocations: 8 kB / 0.9542 GB, free: 4.332 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001216/0.2958, allocations: 103.2 kB / 0.9543 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.296, allocations: 55.89 kB / 0.9544 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.296, allocations: 0 / 0.9544 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.2962, allocations: 35.97 kB / 0.9544 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.2965, allocations: 4 kB / 0.9544 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.2969, allocations: 171.2 kB / 0.9546 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.2971, allocations: 0.6844 MB / 0.9553 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.2972, allocations: 15.42 kB / 0.9553 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.2972, allocations: 4 kB / 0.9553 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of Templates: time 0.002161/0.2993, allocations: 0.8175 MB / 0.9561 GB, free: 2.387 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches