Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001112/0.001112, allocations: 84.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.001921/0.001921, 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.9788/0.9788, allocations: 177.1 MB / 204.6 MB, free: 5.051 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.895/1.895, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.777e-05, allocations: 2.312 kB / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001683/0.001711, allocations: 0.6244 MB / 0.7606 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004077/0.005788, allocations: 0.8645 MB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.005824, allocations: 0 / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.005852, allocations: 1.688 kB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.005926, allocations: 5.25 kB / 0.7615 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.006082, allocations: 19.91 kB / 0.7615 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.079e-05/0.006163, allocations: 27.92 kB / 0.7615 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.64e-05/0.00626, allocations: 13.27 kB / 0.7615 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.006362, allocations: 9.859 kB / 0.7615 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.006421, allocations: 11.98 kB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.006447, allocations: 5.531 kB / 0.7615 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.006455, allocations: 0 / 0.7615 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.006477, allocations: 5.984 kB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.006499, allocations: 12.64 kB / 0.7616 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.835e-05/0.006588, allocations: 12.97 kB / 0.7616 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006591, allocations: 0.875 kB / 0.7616 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.704e-06/0.006592, allocations: 3.938 kB / 0.7616 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.006598, allocations: 1.438 kB / 0.7616 GB, free: 5.074 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003501/0.006948, allocations: 228.7 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.006991, allocations: 17.23 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.007025, allocations: 0.9375 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.007126, allocations: 110.1 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.007148, allocations: 1 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.007161, allocations: 1.359 kB / 0.7619 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.007312, allocations: 64.36 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.007321, allocations: 4.188 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.007328, allocations: 384 / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.007334, allocations: 1.125 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.374e-05/0.007368, allocations: 7.938 kB / 0.762 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.007654, allocations: 150.1 kB / 0.7621 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.059e-05/0.007734, allocations: 30.61 kB / 0.7622 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.007758, allocations: 8.859 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.007774, allocations: 1.312 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.007802, allocations: 35.97 kB / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.007803, allocations: 0 / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001483/0.007952, allocations: 42.88 kB / 0.7622 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.007989, allocations: 55.34 kB / 0.7623 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.668e-05/0.008056, allocations: 102.7 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.008069, allocations: 26.95 kB / 0.7624 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.008106, allocations: 88.06 kB / 0.7625 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.008125, allocations: 3.953 kB / 0.7625 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.008164, allocations: 21.7 kB / 0.7625 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.008257, allocations: 311.8 kB / 0.7628 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.008274, allocations: 4 kB / 0.7628 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.008284, allocations: 1.734 kB / 0.7628 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.008321, allocations: 22 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.008323, allocations: 0 / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.963e-05/0.008393, allocations: 38.42 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.008408, allocations: 7.984 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008412, allocations: 3.25 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.008433, allocations: 0 / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.008525, allocations: 11.94 kB / 0.7629 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.008528, allocations: 0 / 0.7629 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.008555, allocations: 4 kB / 0.7629 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.008562, allocations: 7.984 kB / 0.7629 GB, free: 3.547 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.767e-05/0.00863, allocations: 106.7 kB / 0.763 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.008652, allocations: 3.031 kB / 0.763 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.008674, allocations: 11.31 kB / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.008677, allocations: 0 / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.00868, allocations: 3.938 kB / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.008682, allocations: 0 / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.008799, allocations: 69.88 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.008801, allocations: 0 / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.008856, allocations: 8.594 kB / 0.7631 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.008859, allocations: 5.5 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.008865, allocations: 0 / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.008866, allocations: 0 / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008868, allocations: 0 / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.008983, allocations: 132 kB / 0.7632 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.008992, allocations: 9.5 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.009002, allocations: 0 / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.569e-05/0.009068, allocations: 4.656 kB / 0.7633 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.009112, allocations: 7.984 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.009116, allocations: 1.344 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.952e-05/0.009135, allocations: 16.97 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009135, allocations: 0 / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002074/0.009343, allocations: 4.875 kB / 0.7633 GB, free: 3.137 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001169/0.00946, allocations: 78.86 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.773e-05/0.009547, allocations: 24.78 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.009551, allocations: 0 / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.712e-05/0.009578, allocations: 11.77 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.009787, allocations: 7.938 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.01008, allocations: 116.6 kB / 0.7635 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.745e-05/0.01012, allocations: 55.36 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.66e-05/0.01015, allocations: 1.312 kB / 0.7636 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.01021, allocations: 52.69 kB / 0.7636 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.01021, allocations: 0 / 0.7636 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of Templates: time 0.003107/0.01331, allocations: 0.6483 MB / 0.7643 GB, free: 2.113 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.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.163024418987334]