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.001793/0.001794, allocations: 105.6 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.001891/0.001891, allocations: 190.5 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.15 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.277/2.277, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 64.3 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.308, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002077/0.3102, allocations: 0.6938 MB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3112, allocations: 0.845 MB / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.3113, allocations: 0 / 0.9526 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.3113, allocations: 3.938 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-05/0.3114, allocations: 11.91 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.3116, allocations: 19.92 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.327e-05/0.3117, allocations: 47.91 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3118, allocations: 8 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.3119, allocations: 27.91 kB / 0.9528 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.3119, allocations: 23.91 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.3119, allocations: 4 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.312, allocations: 4 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.312, allocations: 11.94 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.312, allocations: 15.92 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.3122, allocations: 59.78 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3122, allocations: 0 / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3122, allocations: 4 kB / 0.9529 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3122, allocations: 0 / 0.9529 GB, free: 6.258 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.0005231/0.3127, allocations: 351.3 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3128, allocations: 12.03 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.3128, allocations: 4.875 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.3129, allocations: 176.2 kB / 0.9534 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.313, allocations: 4.375 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.313, allocations: 4.375 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.3132, allocations: 73.78 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3132, allocations: 0 / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3132, allocations: 0 / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3132, allocations: 0 / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.3134, allocations: 59.92 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.3139, allocations: 288.7 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.3141, allocations: 62.53 kB / 0.9539 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3142, allocations: 32.92 kB / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3142, allocations: 0 / 0.9539 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.3142, allocations: 30.56 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.3142, allocations: 4 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003933/0.3146, allocations: 117.5 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.3147, allocations: 51.41 kB / 0.9541 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.3148, allocations: 109.8 kB / 0.9542 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.3148, allocations: 29.64 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.3148, allocations: 84.14 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3149, allocations: 15.81 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.3149, allocations: 21.7 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.315, allocations: 314.8 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3152, allocations: 27.97 kB / 0.9547 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.3152, allocations: 19.98 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.3154, allocations: 60.75 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3154, allocations: 0 / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002313/0.3157, allocations: 85.92 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3157, allocations: 4 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3157, allocations: 0 / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3157, allocations: 4.031 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3159, allocations: 11.98 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3159, allocations: 0 / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.3159, allocations: 11.98 kB / 0.9549 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.316, allocations: 4 kB / 0.9549 GB, free: 4 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 9.574e-05/0.3161, allocations: 113.8 kB / 0.955 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.3161, allocations: 7.906 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.3161, allocations: 3.906 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3161, allocations: 0 / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3161, allocations: 0 / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3161, allocations: 7.922 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3163, allocations: 181.6 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3163, allocations: 3.938 kB / 0.9552 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-05/0.3164, allocations: 15.98 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3164, allocations: 0 / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3165, allocations: 3.984 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3165, allocations: 320 / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/0.3165, allocations: 4 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3168, allocations: 179.4 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3168, allocations: 85.02 kB / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3168, allocations: 0 / 0.9554 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3169, allocations: 15.92 kB / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.317, allocations: 11.98 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.317, allocations: 4 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.3171, allocations: 91.25 kB / 0.9556 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3171, allocations: 3.938 kB / 0.9556 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002248/0.3173, allocations: 8 kB / 0.9556 GB, free: 3.176 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.0001314/0.3174, allocations: 107.2 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.3177, allocations: 55.95 kB / 0.9557 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3177, allocations: 0 / 0.9557 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3178, allocations: 31.97 kB / 0.9557 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.3181, allocations: 5.875 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.3185, allocations: 133.5 kB / 0.9559 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.3188, allocations: 0.6844 MB / 0.9566 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.3189, allocations: 4 kB / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.3189, allocations: 11.44 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.3189, allocations: 0 / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.003457/0.3224, allocations: 0.8841 MB / 0.9574 GB, free: 1.207 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 cvode -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