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.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.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.001105/0.001105, allocations: 108.3 kB / 16.37 MB, free: 5.547 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.001146/0.001146, allocations: 191.1 kB / 17.3 MB, free: 5.184 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.17 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.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 67.38 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2763, allocations: 140.4 MB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002044/0.2784, allocations: 0.6951 MB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.2794, allocations: 0.841 MB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.987e-05/0.2795, allocations: 0 / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.2795, allocations: 3.938 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.2796, allocations: 7.938 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.2797, allocations: 27.95 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.2798, allocations: 39.92 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.28, allocations: 15.98 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.2801, allocations: 19.92 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.902e-05/0.2802, allocations: 23.91 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.2802, allocations: 4 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.2802, allocations: 8 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.2803, allocations: 11.92 kB / 0.9528 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.2803, allocations: 23.92 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.2804, allocations: 51.73 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2804, allocations: 0 / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2804, allocations: 0 / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2805, allocations: 0 / 0.9529 GB, free: 6.215 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.0005725/0.281, allocations: 359.3 kB / 0.9532 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2811, allocations: 8.031 kB / 0.9532 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.2811, allocations: 4.938 kB / 0.9532 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.2813, allocations: 176.3 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2814, allocations: 8.312 kB / 0.9534 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.2814, allocations: 4.375 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.2816, allocations: 73.77 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2816, allocations: 0 / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.2816, allocations: 0 / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2816, allocations: 7.938 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.2818, allocations: 43.95 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.2823, allocations: 300.7 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.2825, allocations: 58.55 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.927e-05/0.2826, allocations: 32.84 kB / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2826, allocations: 4 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.2827, allocations: 34.56 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.2827, allocations: 0 / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.000408/0.2831, allocations: 109.5 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.2831, allocations: 51.41 kB / 0.9541 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2833, allocations: 105.8 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2833, allocations: 33.64 kB / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.2834, allocations: 88.14 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.2834, allocations: 15.8 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.2835, allocations: 13.72 kB / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002755/0.2837, allocations: 330.7 kB / 0.9546 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.572e-05/0.2838, allocations: 19.98 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/0.2839, allocations: 23.97 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.2841, allocations: 52.81 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2841, allocations: 0 / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003199/0.2845, allocations: 81.66 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2845, allocations: 4 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2845, allocations: 4 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2845, allocations: 0 / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.2846, allocations: 23.91 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2847, allocations: 0 / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.874e-05/0.2847, allocations: 8 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.2848, allocations: 0 / 0.9549 GB, free: 3.953 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 0.0001051/0.2849, allocations: 124.8 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.2849, allocations: 4.234 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.2849, allocations: 11.91 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2849, allocations: 3.984 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.285, allocations: 0 / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.285, allocations: 0 / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.2852, allocations: 181.5 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2852, allocations: 4 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.2853, allocations: 11.98 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2853, allocations: 3.938 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-06/0.2853, allocations: 0 / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2853, allocations: 0 / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2853, allocations: 0 / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.2856, allocations: 187.4 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.2857, allocations: 85.02 kB / 0.9554 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.2857, allocations: 0 / 0.9554 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.2858, allocations: 15.92 kB / 0.9555 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.2859, allocations: 7.984 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2859, allocations: 4 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.779e-05/0.2859, allocations: 87.27 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2859, allocations: 0 / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002177/0.2862, allocations: 8 kB / 0.9556 GB, free: 3.133 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.0001784/0.2863, allocations: 107.2 kB / 0.9557 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.2866, allocations: 55.94 kB / 0.9557 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2866, allocations: 0 / 0.9557 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.2867, allocations: 31.92 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.2871, allocations: 7.984 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.2875, allocations: 129.5 kB / 0.9559 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.2879, allocations: 0.6844 MB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.537e-05/0.2879, allocations: 7.984 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.288, allocations: 15.44 kB / 0.9566 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.288, allocations: 0 / 0.9566 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of Templates: time 0.003194/0.2912, allocations: 0.8871 MB / 0.9574 GB, free: 1.164 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 -s gbode -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