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.001033/0.001034, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.001259, allocations: 180.2 kB / 16.92 MB, free: 6.918 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.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.447/2.447, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.000388, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7204, allocations: 142.4 MB / 0.9557 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0008659/0.7213, allocations: 442.4 kB / 0.9561 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009277/0.7223, allocations: 0.823 MB / 0.9569 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.7223, allocations: 1 kB / 0.9569 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.7224, allocations: 3.938 kB / 0.9569 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.7224, allocations: 5.234 kB / 0.9569 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.7226, allocations: 16.2 kB / 0.957 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.7227, allocations: 45.88 kB / 0.957 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.7228, allocations: 14.19 kB / 0.957 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.7229, allocations: 18.19 kB / 0.957 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.787e-05/0.7229, allocations: 25.91 kB / 0.9571 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.723, allocations: 2.344 kB / 0.9571 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.723, allocations: 2.438 kB / 0.9571 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.723, allocations: 8.938 kB / 0.9571 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.697e-05/0.7231, allocations: 40.62 kB / 0.9571 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.84e-05/0.7231, allocations: 34.2 kB / 0.9571 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7231, allocations: 1.125 kB / 0.9572 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7231, allocations: 3.938 kB / 0.9572 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.7232, allocations: 4 kB / 0.9572 GB, free: 6.59 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.0004186/0.7236, allocations: 350.7 kB / 0.9575 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.7236, allocations: 8.344 kB / 0.9575 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.7237, allocations: 12.25 kB / 0.9575 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.419e-05/0.7238, allocations: 170.5 kB / 0.9577 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.7238, allocations: 2.562 kB / 0.9577 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.7238, allocations: 2.594 kB / 0.9577 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.724, allocations: 77.92 kB / 0.9578 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.724, allocations: 3.938 kB / 0.9578 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.724, allocations: 5.25 kB / 0.9578 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.724, allocations: 3.984 kB / 0.9578 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.7243, allocations: 61.2 kB / 0.9578 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.7246, allocations: 295 kB / 0.9581 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.7248, allocations: 72.27 kB / 0.9582 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.725, allocations: 35.78 kB / 0.9582 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.725, allocations: 0 / 0.9582 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.725, allocations: 35.59 kB / 0.9582 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.725, allocations: 1.062 kB / 0.9582 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004066/0.7254, allocations: 127.2 kB / 0.9584 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.7255, allocations: 52.91 kB / 0.9584 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.7255, allocations: 114 kB / 0.9585 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.7255, allocations: 26.77 kB / 0.9585 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.7256, allocations: 89.64 kB / 0.9586 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.7256, allocations: 15.8 kB / 0.9587 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.7256, allocations: 13.72 kB / 0.9587 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.7257, allocations: 315.8 kB / 0.959 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.7258, allocations: 28.47 kB / 0.959 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.7259, allocations: 33.83 kB / 0.959 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.7261, allocations: 59.53 kB / 0.9591 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.7261, allocations: 1.281 kB / 0.9591 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002372/0.7263, allocations: 99.7 kB / 0.9592 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.7264, allocations: 4.406 kB / 0.9592 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.7264, allocations: 3.938 kB / 0.9592 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.7264, allocations: 0 / 0.9592 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.7265, allocations: 22.42 kB / 0.9592 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.7265, allocations: 0 / 0.9592 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.356e-05/0.7266, allocations: 15.8 kB / 0.9592 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.7266, allocations: 1.906 kB / 0.9592 GB, free: 4.629 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,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 5.42e-05/0.7267, allocations: 111.5 kB / 0.9593 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.7267, allocations: 2.031 kB / 0.9593 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.7267, allocations: 9.719 kB / 0.9593 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7267, allocations: 0 / 0.9593 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7268, allocations: 7.984 kB / 0.9593 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7268, allocations: 0 / 0.9593 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.7269, allocations: 173.4 kB / 0.9595 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.7269, allocations: 0 / 0.9595 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.727, allocations: 13.61 kB / 0.9595 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.727, allocations: 336 / 0.9595 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.727, allocations: 9.016 kB / 0.9595 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.727, allocations: 0 / 0.9595 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.727, allocations: 1.188 kB / 0.9595 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.7273, allocations: 206.1 kB / 0.9597 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.7273, allocations: 77.11 kB / 0.9598 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.7274, allocations: 1.25 kB / 0.9598 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.7275, allocations: 15.11 kB / 0.9598 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.7275, allocations: 11.45 kB / 0.9598 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.7275, allocations: 1.188 kB / 0.9598 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.7276, allocations: 86.19 kB / 0.9599 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7276, allocations: 0 / 0.9599 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002163/0.7278, allocations: 6.75 kB / 0.9599 GB, free: 3.91 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 (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.0001087/0.7279, allocations: 108.7 kB / 0.96 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.7282, allocations: 64.52 kB / 0.9601 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7282, allocations: 0 / 0.9601 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.7283, allocations: 43.44 kB / 0.9601 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.7286, allocations: 5.781 kB / 0.9601 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.7289, allocations: 166.5 kB / 0.9603 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.729, allocations: 0.6858 MB / 0.961 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.7291, allocations: 14.12 kB / 0.961 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.7291, allocations: 0 / 0.961 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.001937/0.731, allocations: 0.7915 MB / 0.9618 GB, free: 2.484 MB / 0.7169 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