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.001116/0.001116, 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.001183/0.001183, 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 1.058/1.058, allocations: 177.1 MB / 204.6 MB, free: 5.48 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 2.049/2.049, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.683e-06/1.683e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.085e-05, allocations: 7.297 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001261/0.001282, allocations: 0.6865 MB / 0.7607 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.002106, allocations: 0.8615 MB / 0.7615 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.002136, allocations: 0 / 0.7615 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.002162, allocations: 3.938 kB / 0.7616 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.002226, allocations: 5.094 kB / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.00235, allocations: 22.11 kB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.15e-05/0.002412, allocations: 22.72 kB / 0.7616 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.002481, allocations: 5.344 kB / 0.7616 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.204e-05/0.002563, allocations: 21.61 kB / 0.7616 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.292e-05/0.002606, allocations: 8.641 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.002623, allocations: 5.344 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.772e-06/0.00263, allocations: 0 / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.002647, allocations: 8.984 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.002663, allocations: 8.75 kB / 0.7617 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.805e-05/0.002731, allocations: 18.53 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002733, allocations: 0 / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002734, allocations: 0 / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002737, allocations: 4 kB / 0.7617 GB, free: 4.961 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.0002703/0.003008, allocations: 227.3 kB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.003038, allocations: 8.031 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.003065, allocations: 5.953 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.363e-05/0.003138, allocations: 117.6 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.003153, allocations: 384 / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.00316, allocations: 4.906 kB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.9e-05/0.003259, allocations: 56.19 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003266, allocations: 192 / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.003272, allocations: 384 / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.003277, allocations: 1.359 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.0033, allocations: 12.62 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.003484, allocations: 145.5 kB / 0.7622 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.817e-05/0.003523, allocations: 30.52 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.003537, allocations: 10.39 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.003548, allocations: 4.062 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.003568, allocations: 30.56 kB / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.003569, allocations: 0 / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001022/0.003672, allocations: 42.39 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.0037, allocations: 60.75 kB / 0.7624 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.328e-05/0.003753, allocations: 106.7 kB / 0.7625 GB, free: 4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.003763, allocations: 27.45 kB / 0.7625 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.015e-05/0.003793, allocations: 80.14 kB / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.003809, allocations: 3.953 kB / 0.7626 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.003832, allocations: 17.7 kB / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.003901, allocations: 319.7 kB / 0.7629 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-06/0.003909, allocations: 1.438 kB / 0.7629 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-06/0.003918, allocations: 4 kB / 0.7629 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.003943, allocations: 15.28 kB / 0.7629 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.003944, allocations: 0 / 0.7629 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.129e-05/0.003986, allocations: 41.64 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.003995, allocations: 4 kB / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.003999, allocations: 4 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.004011, allocations: 4.641 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.004065, allocations: 10.75 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.004068, allocations: 0 / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.803e-05/0.004086, allocations: 8 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.00409, allocations: 0 / 0.763 GB, free: 3.445 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 4.738e-05/0.004137, allocations: 109.8 kB / 0.7631 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.004151, allocations: 5.203 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.35e-05/0.004165, allocations: 4.062 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.004167, allocations: 4 kB / 0.7631 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.004169, allocations: 5.156 kB / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.004171, allocations: 0 / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.362e-05/0.004245, allocations: 69.89 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004246, allocations: 4.188 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.858e-05/0.004264, allocations: 7.219 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.004265, allocations: 0 / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.004271, allocations: 3.984 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.004271, allocations: 0 / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.004272, allocations: 0.875 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.707e-05/0.004339, allocations: 139.4 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-06/0.004346, allocations: 7.969 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-06/0.004352, allocations: 3.031 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.032e-05/0.004382, allocations: 4 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.004416, allocations: 11.98 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.004418, allocations: 0 / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.947e-06/0.004427, allocations: 8.797 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.004427, allocations: 4.875 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001086/0.004535, allocations: 4 kB / 0.7634 GB, free: 3.023 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 6.52e-05/0.004601, allocations: 73.83 kB / 0.7635 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.494e-05/0.004655, allocations: 20.78 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.004657, allocations: 1.281 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.00468, allocations: 12.86 kB / 0.7635 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.004812, allocations: 9.641 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002113/0.005023, allocations: 111.6 kB / 0.7636 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.171e-05/0.005055, allocations: 57.2 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.013e-05/0.005075, allocations: 5.5 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.005117, allocations: 51.38 kB / 0.7637 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.005117, allocations: 0 / 0.7637 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of Templates: time 0.001923/0.00704, allocations: 0.6397 MB / 0.7644 GB, free: 2.02 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 -s gbode -gbm=radauIIA3 -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.259040724951774]