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.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.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.0009449/0.0009448, allocations: 96.14 kB / 16.03 MB, free: 68 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.001302/0.001302, allocations: 180.1 kB / 16.92 MB, free: 6.906 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.312 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.432/2.432, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005612/0.0005612, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7358/0.7364, allocations: 142.4 MB / 0.9557 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0008803/0.7373, allocations: 437.1 kB / 0.9561 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008017/0.7381, allocations: 0.832 MB / 0.9569 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.7382, allocations: 1.062 kB / 0.957 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.7382, allocations: 3.938 kB / 0.957 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.941e-05/0.7383, allocations: 0 / 0.957 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.7385, allocations: 17.14 kB / 0.957 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.7385, allocations: 42.42 kB / 0.957 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.7387, allocations: 21.09 kB / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.32e-05/0.7387, allocations: 14.48 kB / 0.957 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.7388, allocations: 18.27 kB / 0.9571 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.7388, allocations: 6.531 kB / 0.9571 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.7388, allocations: 2.062 kB / 0.9571 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.7389, allocations: 12.98 kB / 0.9571 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.7389, allocations: 40.75 kB / 0.9571 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.534e-05/0.739, allocations: 34.98 kB / 0.9572 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.739, allocations: 0 / 0.9572 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.739, allocations: 4 kB / 0.9572 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.739, allocations: 1.281 kB / 0.9572 GB, free: 6.621 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.0004315/0.7394, allocations: 354 kB / 0.9575 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7395, allocations: 14.47 kB / 0.9575 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.7395, allocations: 6.25 kB / 0.9575 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.482e-05/0.7396, allocations: 163 kB / 0.9577 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.7396, allocations: 7.062 kB / 0.9577 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.7397, allocations: 5.875 kB / 0.9577 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.7399, allocations: 74.61 kB / 0.9578 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.7399, allocations: 0 / 0.9578 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.7399, allocations: 4.938 kB / 0.9578 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.7399, allocations: 4.969 kB / 0.9578 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.7401, allocations: 64.72 kB / 0.9578 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.7405, allocations: 291.8 kB / 0.9581 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.7407, allocations: 72.72 kB / 0.9582 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.7409, allocations: 40.03 kB / 0.9582 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.7409, allocations: 0 / 0.9582 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.7409, allocations: 35.83 kB / 0.9582 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.7409, allocations: 0 / 0.9582 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004288/0.7414, allocations: 124 kB / 0.9584 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.7414, allocations: 51.41 kB / 0.9584 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.7415, allocations: 119.3 kB / 0.9585 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.7415, allocations: 25.7 kB / 0.9586 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.7415, allocations: 86.48 kB / 0.9586 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.7415, allocations: 9.75 kB / 0.9586 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.7416, allocations: 14.81 kB / 0.9587 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.7416, allocations: 324 kB / 0.959 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.7417, allocations: 25.17 kB / 0.959 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.763e-05/0.7418, allocations: 38.5 kB / 0.959 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.7421, allocations: 58.94 kB / 0.9591 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7421, allocations: 5.062 kB / 0.9591 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002407/0.7423, allocations: 94.39 kB / 0.9592 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7423, allocations: 5.344 kB / 0.9592 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.7423, allocations: 0 / 0.9592 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.7424, allocations: 1.531 kB / 0.9592 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.7425, allocations: 21.2 kB / 0.9592 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.7425, allocations: 5.969 kB / 0.9592 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.048e-05/0.7426, allocations: 14.8 kB / 0.9592 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.7426, allocations: 6.062 kB / 0.9592 GB, free: 4.656 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 6.642e-05/0.7427, allocations: 111.8 kB / 0.9593 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.7427, allocations: 2 kB / 0.9593 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.7427, allocations: 7.906 kB / 0.9593 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.7427, allocations: 5.844 kB / 0.9594 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.7428, allocations: 0 / 0.9594 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7428, allocations: 0 / 0.9594 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.7429, allocations: 177 kB / 0.9595 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7429, allocations: 0 / 0.9595 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.743, allocations: 13.8 kB / 0.9595 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.743, allocations: 3.938 kB / 0.9595 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.743, allocations: 5.688 kB / 0.9595 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.743, allocations: 3.984 kB / 0.9595 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.743, allocations: 0 / 0.9595 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.7433, allocations: 197.7 kB / 0.9597 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.7434, allocations: 82.47 kB / 0.9598 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.7434, allocations: 1.719 kB / 0.9598 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.7435, allocations: 15.39 kB / 0.9598 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.7436, allocations: 12.3 kB / 0.9598 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.7436, allocations: 0 / 0.9598 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.7436, allocations: 85.64 kB / 0.9599 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7436, allocations: 0 / 0.9599 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002177/0.7438, allocations: 7.812 kB / 0.9599 GB, free: 3.938 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.0001122/0.744, allocations: 107.7 kB / 0.96 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.7442, allocations: 65.17 kB / 0.9601 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7442, allocations: 0 / 0.9601 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.7444, allocations: 45.78 kB / 0.9601 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.7447, allocations: 10.14 kB / 0.9602 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.745, allocations: 167.3 kB / 0.9603 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.7451, allocations: 0.6852 MB / 0.961 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.7452, allocations: 12.91 kB / 0.961 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7452, allocations: 4 kB / 0.961 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.001965/0.7471, allocations: 0.7868 MB / 0.9618 GB, free: 2.508 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/jenkins1/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