Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001269/0.001269, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001425/0.001425, allocations: 169 kB / 23.02 MB, free: 1.539 MB / 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.9603/0.9603, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.078/2.078, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.554e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001897/0.001933, allocations: 0.6442 MB / 0.8788 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003072, allocations: 0.8575 MB / 0.8796 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.003109, allocations: 4.703 kB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.003143, allocations: 0.7812 kB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.684e-05/0.003219, allocations: 1.641 kB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.003395, allocations: 20.42 kB / 0.8796 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.003485, allocations: 28.47 kB / 0.8797 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.003587, allocations: 11.98 kB / 0.8797 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.607e-05/0.003683, allocations: 15.92 kB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.003737, allocations: 12.64 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.003764, allocations: 4 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-06/0.003773, allocations: 1.625 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.003791, allocations: 0 / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.003816, allocations: 8 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.652e-05/0.003912, allocations: 23.89 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.003915, allocations: 3.719 kB / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/0.003917, allocations: 0 / 0.8797 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.003922, allocations: 0 / 0.8797 GB, free: 4.703 MB / 0.8386 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.0004143/0.004336, allocations: 356.7 kB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.004382, allocations: 8.031 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.004435, allocations: 8.938 kB / 0.8801 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.004536, allocations: 116.5 kB / 0.8802 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.004559, allocations: 4.375 kB / 0.8802 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.00457, allocations: 384 / 0.8802 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.004741, allocations: 55.88 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.00475, allocations: 192 / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.00476, allocations: 384 / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.00477, allocations: 5.406 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.714e-05/0.004817, allocations: 19.91 kB / 0.8803 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.00518, allocations: 247.8 kB / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.238e-05/0.005262, allocations: 36.22 kB / 0.8806 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.005293, allocations: 12.88 kB / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.005308, allocations: 0 / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.005333, allocations: 37.39 kB / 0.8806 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.005334, allocations: 0.9688 kB / 0.8806 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002011/0.005536, allocations: 49.56 kB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.005572, allocations: 59 kB / 0.8807 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.00567, allocations: 161.9 kB / 0.8809 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.005683, allocations: 25.7 kB / 0.8809 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.005727, allocations: 126.9 kB / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.005751, allocations: 7.953 kB / 0.881 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.005787, allocations: 23.31 kB / 0.881 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.005916, allocations: 496.1 kB / 0.8815 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.00594, allocations: 3.984 kB / 0.8815 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.005956, allocations: 4 kB / 0.8815 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.162e-05/0.005998, allocations: 16.41 kB / 0.8815 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.006001, allocations: 0.5938 kB / 0.8815 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.063e-05/0.006091, allocations: 46.16 kB / 0.8816 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.006106, allocations: 5.125 kB / 0.8816 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.006114, allocations: 3.938 kB / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.006128, allocations: 0 / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.006227, allocations: 5.531 kB / 0.8816 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.006233, allocations: 4 kB / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.006262, allocations: 3.984 kB / 0.8816 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.006275, allocations: 4 kB / 0.8816 GB, free: 2.59 MB / 0.8386 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 8.39e-05/0.006358, allocations: 161.3 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.006385, allocations: 4.922 kB / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.006412, allocations: 7.25 kB / 0.8818 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006415, allocations: 4 kB / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.006418, allocations: 4.219 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.006421, allocations: 0 / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.006557, allocations: 116.6 kB / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006559, allocations: 0 / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.006607, allocations: 7.984 kB / 0.8819 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.006611, allocations: 0 / 0.8819 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.006618, allocations: 0 / 0.8819 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.006623, allocations: 7.938 kB / 0.8819 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.006624, allocations: 0 / 0.8819 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.006764, allocations: 191.9 kB / 0.8821 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.006773, allocations: 8.031 kB / 0.8821 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.006786, allocations: 0 / 0.8821 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.006853, allocations: 7.938 kB / 0.8821 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.006908, allocations: 7.984 kB / 0.8821 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.006914, allocations: 4 kB / 0.8821 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.386e-05/0.006958, allocations: 119.2 kB / 0.8822 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.006958, allocations: 0 / 0.8822 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002411/0.007199, allocations: 4 kB / 0.8822 GB, free: 1.883 MB / 0.8386 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.000114/0.007313, allocations: 107.2 kB / 0.8823 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.007425, allocations: 23.62 kB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.007427, allocations: 0 / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.007459, allocations: 11.69 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.00773, allocations: 7.984 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.008075, allocations: 110.4 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.096e-05/0.008116, allocations: 55.36 kB / 0.8825 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.00815, allocations: 8.125 kB / 0.8825 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.008192, allocations: 16.48 kB / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of SimCode: time 9.02e-07/0.008193, allocations: 0 / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.003345/0.01154, allocations: 0.6956 MB / 0.8832 GB, free: 0.8008 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.207046241033822]