Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001377/0.001377, 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.0015/0.0015, allocations: 161 kB / 24.16 MB, free: 336 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.9866/0.9866, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.861/1.861, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.368e-05, allocations: 5.406 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.004557/0.004581, allocations: 0.7186 MB / 0.7607 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000943/0.005524, allocations: 0.8849 MB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.005561, allocations: 0.5312 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.005589, allocations: 4.812 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.005666, allocations: 4.875 kB / 0.7616 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.005793, allocations: 29.28 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.075e-05/0.005874, allocations: 45.78 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.029e-05/0.005954, allocations: 11.97 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.026e-05/0.006044, allocations: 26.5 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.006098, allocations: 26.58 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.00612, allocations: 4 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.00613, allocations: 5.531 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.006149, allocations: 5.641 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.006172, allocations: 13.52 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.844e-05/0.006261, allocations: 38.95 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.006263, allocations: 0.5312 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006264, allocations: 0.5 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.006267, allocations: 0 / 0.7618 GB, free: 4.844 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003377/0.006605, allocations: 250.2 kB / 0.762 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.006638, allocations: 8.031 kB / 0.762 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.00667, allocations: 12.86 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.847e-05/0.006759, allocations: 110.6 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.006775, allocations: 1.141 kB / 0.7622 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.006789, allocations: 9 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.006913, allocations: 63.48 kB / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.006922, allocations: 5.094 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.006931, allocations: 4 kB / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.006936, allocations: 0 / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.237e-05/0.006968, allocations: 9 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.007223, allocations: 173.2 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.919e-05/0.007312, allocations: 35.81 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.277e-05/0.007335, allocations: 12.92 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.007348, allocations: 3.938 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.00737, allocations: 35.58 kB / 0.7625 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.007372, allocations: 3.984 kB / 0.7625 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001357/0.007508, allocations: 50.19 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.007542, allocations: 57.16 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.007608, allocations: 114.7 kB / 0.7627 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.007623, allocations: 25.7 kB / 0.7627 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.007659, allocations: 92.73 kB / 0.7628 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.007677, allocations: 7.953 kB / 0.7628 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.007713, allocations: 22.92 kB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.0078, allocations: 318.8 kB / 0.7632 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.00782, allocations: 4 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.378e-05/0.007834, allocations: 5.25 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.007874, allocations: 20.78 kB / 0.7632 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.007877, allocations: 4 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.447e-05/0.007952, allocations: 46.38 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.007964, allocations: 8.641 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.007968, allocations: 0 / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.007979, allocations: 0.75 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.008056, allocations: 8 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.267e-06/0.00806, allocations: 0.9688 kB / 0.7633 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.008091, allocations: 7.984 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.008096, allocations: 1.219 kB / 0.7633 GB, free: 3.203 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: 2 (reaToInt.y,intGreThr.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.57e-05/0.008162, allocations: 109.8 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.008185, allocations: 7.938 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.008206, allocations: 6 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.008209, allocations: 4 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.008211, allocations: 0 / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.008215, allocations: 7.922 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.008334, allocations: 77.84 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002521/0.008586, allocations: 5.016 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.008631, allocations: 12 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.008633, allocations: 0 / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.008639, allocations: 4.875 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.00864, allocations: 0 / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008642, allocations: 0.9688 kB / 0.7635 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.008763, allocations: 139.5 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.008775, allocations: 3.938 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.008788, allocations: 10.69 kB / 0.7636 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.656e-05/0.008845, allocations: 3.984 kB / 0.7636 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.008891, allocations: 11.98 kB / 0.7637 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.008897, allocations: 4.375 kB / 0.7637 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.902e-05/0.008916, allocations: 25.08 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.008916, allocations: 0 / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001873/0.009103, allocations: 4 kB / 0.7637 GB, free: 2.73 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 (intGreThr.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.0001011/0.009204, allocations: 83.09 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.801e-05/0.009282, allocations: 28.77 kB / 0.7638 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.009287, allocations: 4 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.009316, allocations: 16.86 kB / 0.7638 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.009491, allocations: 14.02 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.009738, allocations: 132.4 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.009773, allocations: 63.28 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.0098, allocations: 5.938 kB / 0.764 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.009851, allocations: 55.38 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/0.009851, allocations: 0.5 kB / 0.7641 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of Templates: time 0.002483/0.01233, allocations: 0.9636 MB / 0.765 GB, free: 1.363 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.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.015929892193526]