Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 165 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9912/0.9912, allocations: 177.1 MB / 204.6 MB, free: 5.129 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.899/1.899, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.071e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001575/0.001596, allocations: 0.8231 MB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00093/0.002526, allocations: 0.9338 MB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.002616, allocations: 4.594 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.002739, allocations: 18.92 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.002779, allocations: 11.97 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.002949, allocations: 27.91 kB / 0.7619 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.003057, allocations: 79.08 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.94e-05/0.003146, allocations: 25.06 kB / 0.762 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.003281, allocations: 45.16 kB / 0.762 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.003341, allocations: 28.45 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.003356, allocations: 4 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.05e-05/0.003396, allocations: 13.34 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.00341, allocations: 11.94 kB / 0.7621 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.003434, allocations: 19.92 kB / 0.7621 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.003536, allocations: 52.41 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003538, allocations: 4 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003539, allocations: 1.125 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.003542, allocations: 0 / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000307/0.00385, allocations: 281.6 kB / 0.7624 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.003881, allocations: 12.03 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.003982, allocations: 14.17 kB / 0.7624 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.004122, allocations: 145.5 kB / 0.7626 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.004133, allocations: 9.625 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.004144, allocations: 4.375 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.004247, allocations: 58.94 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004253, allocations: 0.9375 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.004262, allocations: 4.375 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.004267, allocations: 0.9062 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.557e-05/0.004292, allocations: 15.88 kB / 0.7627 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.004525, allocations: 185 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.298e-05/0.004598, allocations: 35.66 kB / 0.7629 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.004613, allocations: 8.859 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.004623, allocations: 1.219 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.004644, allocations: 38.5 kB / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.004645, allocations: 0 / 0.7629 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001036/0.004749, allocations: 50.38 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.004777, allocations: 52.16 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.788e-05/0.004844, allocations: 132.7 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.004859, allocations: 26.45 kB / 0.7632 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.004895, allocations: 100.1 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.004907, allocations: 6.078 kB / 0.7633 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.004933, allocations: 17.7 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.005007, allocations: 322.8 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.005019, allocations: 4 kB / 0.7636 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-06/0.005028, allocations: 7.938 kB / 0.7636 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.005054, allocations: 12.84 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005055, allocations: 1.344 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.62e-05/0.005112, allocations: 45.62 kB / 0.7637 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.005123, allocations: 7.938 kB / 0.7637 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005127, allocations: 0 / 0.7637 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.005138, allocations: 5.594 kB / 0.7637 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.005179, allocations: 7.984 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.005182, allocations: 0 / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.005204, allocations: 4 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.005208, allocations: 7.578 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.026e-05/0.005269, allocations: 109.8 kB / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.005284, allocations: 7.938 kB / 0.7638 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.005307, allocations: 16.33 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005308, allocations: 0 / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.005311, allocations: 0 / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.005313, allocations: 0 / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.802e-05/0.005401, allocations: 77.88 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005402, allocations: 3.031 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.005416, allocations: 3.984 kB / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005417, allocations: 0 / 0.7639 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.005423, allocations: 8 kB / 0.7639 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.005426, allocations: 3.938 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.005427, allocations: 0 / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.644e-05/0.005503, allocations: 139.5 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.005513, allocations: 11.88 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.005528, allocations: 5.5 kB / 0.7641 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.005564, allocations: 7.938 kB / 0.7641 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.005596, allocations: 7.984 kB / 0.7641 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.0056, allocations: 4.656 kB / 0.7641 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.099e-05/0.005621, allocations: 30.22 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005621, allocations: 0.625 kB / 0.7641 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001197/0.005741, allocations: 8 kB / 0.7641 GB, free: 2.312 MB / 0.7136 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 8.49e-05/0.005826, allocations: 78.14 kB / 0.7642 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.964e-05/0.005885, allocations: 24.78 kB / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.005889, allocations: 0 / 0.7642 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.005906, allocations: 19.3 kB / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.006043, allocations: 7.938 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003889/0.006432, allocations: 180.1 kB / 0.7644 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.429e-05/0.006466, allocations: 58.48 kB / 0.7645 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.006495, allocations: 11.92 kB / 0.7645 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.006551, allocations: 55.38 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.006552, allocations: 0 / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.002555/0.009106, allocations: 0.9776 MB / 0.7655 GB, free: 0.9023 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.040691295173019]