Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.002977/0.002977, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.473/1.473, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.624/2.624, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.8131, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002425/0.8155, allocations: 0.7644 MB / 0.9498 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.8169, allocations: 0.8298 MB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.095e-05/0.817, allocations: 1.375 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.264e-05/0.8171, allocations: 3.984 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.8172, allocations: 13.23 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.8174, allocations: 15.48 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.8175, allocations: 42.89 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.8177, allocations: 15.23 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.8178, allocations: 22.88 kB / 0.9508 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.965e-05/0.8179, allocations: 22.92 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.818, allocations: 3 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.154e-05/0.818, allocations: 4.031 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.8181, allocations: 18.58 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.8181, allocations: 22.8 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.8183, allocations: 45.08 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.8183, allocations: 0 / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.466e-06/0.8183, allocations: 0 / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.8183, allocations: 3.938 kB / 0.9509 GB, free: 7.652 MB / 0.7169 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.000707/0.819, allocations: 361 kB / 0.9512 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.8191, allocations: 10.06 kB / 0.9512 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.8192, allocations: 8.125 kB / 0.9512 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.8194, allocations: 169.6 kB / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.8194, allocations: 3.062 kB / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.8194, allocations: 5.875 kB / 0.9514 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.8197, allocations: 68.78 kB / 0.9515 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.8197, allocations: 3.938 kB / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.8198, allocations: 0 / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.8198, allocations: 1.375 kB / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.82, allocations: 55.39 kB / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.8206, allocations: 290.8 kB / 0.9518 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.8208, allocations: 64.66 kB / 0.9519 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.8209, allocations: 34.62 kB / 0.9519 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.821, allocations: 0 / 0.9519 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.821, allocations: 39.88 kB / 0.9519 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.821, allocations: 0 / 0.9519 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004695/0.8215, allocations: 105.5 kB / 0.952 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.8216, allocations: 51.41 kB / 0.9521 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.8217, allocations: 115.5 kB / 0.9522 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.8217, allocations: 25.7 kB / 0.9522 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.8218, allocations: 90.88 kB / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.8218, allocations: 13.12 kB / 0.9523 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.8218, allocations: 17.84 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.8219, allocations: 324.1 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.822, allocations: 20.36 kB / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.8221, allocations: 28.34 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.8223, allocations: 58.38 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8224, allocations: 0 / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002599/0.8226, allocations: 80.86 kB / 0.9528 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.8227, allocations: 7.625 kB / 0.9528 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8227, allocations: 0 / 0.9528 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.8227, allocations: 1.031 kB / 0.9528 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.8228, allocations: 16.11 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.8229, allocations: 0 / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.389e-05/0.8229, allocations: 9.703 kB / 0.9529 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.823, allocations: 1.312 kB / 0.9529 GB, free: 5.703 MB / 0.7169 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,intLesThr.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.548e-05/0.8231, allocations: 119.2 kB / 0.953 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.8231, allocations: 6.594 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.8231, allocations: 9.406 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.8232, allocations: 0 / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.8232, allocations: 4 kB / 0.953 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.8232, allocations: 5.344 kB / 0.953 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.8234, allocations: 175.9 kB / 0.9532 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.8234, allocations: 0 / 0.9532 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.8235, allocations: 10.92 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.8235, allocations: 1.469 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.8235, allocations: 0 / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.8235, allocations: 1.438 kB / 0.9532 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.8235, allocations: 3.938 kB / 0.9532 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.8239, allocations: 188 kB / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.8239, allocations: 86.25 kB / 0.9535 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.8239, allocations: 5.5 kB / 0.9535 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.824, allocations: 8.047 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.8241, allocations: 11.81 kB / 0.9535 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.8242, allocations: 6.547 kB / 0.9535 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.388e-05/0.8242, allocations: 88.03 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8242, allocations: 0.9688 kB / 0.9536 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002788/0.8245, allocations: 10.22 kB / 0.9536 GB, free: 4.961 MB / 0.7169 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 (intLesThr.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.0001924/0.8247, allocations: 103.6 kB / 0.9537 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000301/0.825, allocations: 58.97 kB / 0.9537 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.825, allocations: 4 kB / 0.9537 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.8252, allocations: 38.5 kB / 0.9538 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.8256, allocations: 3.375 kB / 0.9538 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.826, allocations: 149.4 kB / 0.9539 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.8263, allocations: 0.6854 MB / 0.9546 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.727e-05/0.8263, allocations: 6.875 kB / 0.9546 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.8264, allocations: 11.59 kB / 0.9546 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of SimCode: time 6.62e-07/0.8264, allocations: 0 / 0.9546 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of Templates: time 0.003653/0.83, allocations: 0.7984 MB / 0.9554 GB, free: 3.551 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches