Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007372/0.0007372, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007659/0.0007659, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.87/0.87, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.673/1.673, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.835e-05, allocations: 9.172 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00129/0.001318, allocations: 0.6118 MB / 0.9523 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000803/0.002121, allocations: 0.8431 MB / 0.9531 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.002155, allocations: 4 kB / 0.9531 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.002182, allocations: 7.984 kB / 0.9531 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.636e-05/0.002239, allocations: 7.922 kB / 0.9532 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.00239, allocations: 11.94 kB / 0.9532 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.002455, allocations: 23.92 kB / 0.9532 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.002552, allocations: 11.98 kB / 0.9532 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.002621, allocations: 11.94 kB / 0.9532 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.002665, allocations: 15.97 kB / 0.9532 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.002692, allocations: 4 kB / 0.9532 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.453e-06/0.002698, allocations: 0 / 0.9532 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.002717, allocations: 8 kB / 0.9532 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.002736, allocations: 7.984 kB / 0.9532 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 7.676e-05/0.002813, allocations: 27.91 kB / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.002815, allocations: 0 / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002816, allocations: 0 / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.00282, allocations: 0 / 0.9533 GB, free: 1.402 MB / 0.9011 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.0003474/0.003167, allocations: 266.3 kB / 0.9535 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.003204, allocations: 12.03 kB / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.00323, allocations: 0.9375 kB / 0.9535 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.589e-05/0.003316, allocations: 113.7 kB / 0.9536 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.003337, allocations: 4.375 kB / 0.9536 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.003345, allocations: 4.312 kB / 0.9537 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.003473, allocations: 50.23 kB / 0.9537 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.003481, allocations: 192 / 0.9537 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.003491, allocations: 4.375 kB / 0.9537 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.003495, allocations: 384 / 0.9537 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.598e-05/0.003591, allocations: 43.89 kB / 0.9537 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.003874, allocations: 196.6 kB / 0.9539 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.003958, allocations: 42.55 kB / 0.954 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.004006, allocations: 24.91 kB / 0.954 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.00402, allocations: 0 / 0.954 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.00404, allocations: 30.56 kB / 0.954 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.004041, allocations: 0 / 0.954 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002445/0.004285, allocations: 93.61 kB / 0.9541 GB, free: 424 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.004314, allocations: 55.44 kB / 0.9542 GB, free: 356 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.004369, allocations: 101.8 kB / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.004381, allocations: 25.7 kB / 0.9543 GB, free: 212 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.004416, allocations: 92.08 kB / 0.9544 GB, free: 116 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.004433, allocations: 3.953 kB / 0.9544 GB, free: 112 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.004459, allocations: 13.7 kB / 0.9544 GB, free: 92 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.004545, allocations: 318.8 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.432e-05/0.004589, allocations: 11.98 kB / 0.9547 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.081e-05/0.00463, allocations: 27.97 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.424e-05/0.004714, allocations: 36.83 kB / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.004715, allocations: 0 / 0.9548 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001072/0.004823, allocations: 69.59 kB / 0.9548 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.004834, allocations: 4 kB / 0.9548 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.004839, allocations: 7.875 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.004851, allocations: 4.094 kB / 0.9549 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.004921, allocations: 11.98 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.004926, allocations: 0 / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.004953, allocations: 15.94 kB / 0.9549 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.004957, allocations: 0 / 0.9549 GB, free: 15.57 MB / 0.9167 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 5.663e-05/0.005014, allocations: 109.8 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.005026, allocations: 0 / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.772e-05/0.005044, allocations: 11.25 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005046, allocations: 0 / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005049, allocations: 4 kB / 0.955 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.005051, allocations: 4.188 kB / 0.955 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.65e-05/0.005138, allocations: 101.3 kB / 0.9551 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005139, allocations: 0 / 0.9551 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.005168, allocations: 11.98 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.005171, allocations: 3.984 kB / 0.9551 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.005177, allocations: 3.938 kB / 0.9551 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.005179, allocations: 3.938 kB / 0.9551 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.00518, allocations: 0 / 0.9551 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.005322, allocations: 171.5 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-06/0.005329, allocations: 7.984 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.005338, allocations: 0 / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.005378, allocations: 7.938 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.005423, allocations: 11.98 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.005427, allocations: 4 kB / 0.9553 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.005454, allocations: 83.28 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005454, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001488/0.005603, allocations: 4 kB / 0.9554 GB, free: 14.98 MB / 0.9167 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 7.899e-05/0.005682, allocations: 103.3 kB / 0.9555 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.00581, allocations: 39.89 kB / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.005811, allocations: 0 / 0.9555 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.005854, allocations: 19.98 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.00605, allocations: 4 kB / 0.9556 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.006296, allocations: 134.5 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.006338, allocations: 67.28 kB / 0.9558 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.006367, allocations: 16.5 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.006368, allocations: 0 / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of Templates: time 0.001497/0.007865, allocations: 0.6131 MB / 0.9564 GB, free: 13.94 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.347121595405042]